Apply ansiblehost to inventory, fix syntax error

This commit is contained in:
Salt 2020-02-06 00:38:04 -06:00
parent 60acdbc9cb
commit 4f0908b245
2 changed files with 4 additions and 0 deletions

View File

@ -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 |

View File

@ -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 }}"