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 #!/usr/bin/env ansible-playbook
# vim:ft=ansible: # vim:ft=ansible:
--- ---
- hosts: tag_role_common - hosts: ec2
roles: roles:
- common - common
- hosts: tag_role_ansiblehost - hosts: tag_role_ansiblehost
roles: roles:
- user
- ansiblehost - ansiblehost

View File

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

View File

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