Remove role interdependencies

This commit is contained in:
Salt 2019-09-15 01:26:37 -05:00
parent 4bd018bf90
commit cb3d94db94
3 changed files with 2 additions and 7 deletions

View File

@ -1,9 +1,10 @@
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: tag_role_common
- hosts: ec2
roles:
- common
- hosts: tag_role_ansiblehost
roles:
- user
- ansiblehost

View File

@ -1,9 +1,6 @@
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: Basic setup
include_role:
name: common
- name: Install Ansible-required packages via apt
apt:
name: "{{ packages }}"

View File

@ -15,6 +15,3 @@
packages:
- vim
become: true
- name: Set up users
include_role:
name: user