Apply ansiblehost to inventory, fix syntax error
This commit is contained in:
parent
60acdbc9cb
commit
4f0908b245
3
ec2.yml
3
ec2.yml
@ -5,6 +5,9 @@
|
|||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
- user
|
- user
|
||||||
|
- hosts: tag_ansiblehost_true
|
||||||
|
roles:
|
||||||
|
- ansiblehost
|
||||||
- hosts: tag_role_nextcloud
|
- hosts: tag_role_nextcloud
|
||||||
vars:
|
vars:
|
||||||
mysql_root_password: !vault |
|
mysql_root_password: !vault |
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
# vim:ft=ansible:
|
# vim:ft=ansible:
|
||||||
---
|
---
|
||||||
- name: Set up system for Ansible
|
- name: Set up system for Ansible
|
||||||
|
block:
|
||||||
- name: Install Ansible-required packages via apt
|
- name: Install Ansible-required packages via apt
|
||||||
apt:
|
apt:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user