Convert role invocations to use the full namespace of the role

This commit is contained in:
Salt 2021-09-18 16:10:54 -05:00
parent 78c0e95275
commit fe5eb5c14d
5 changed files with 12 additions and 19 deletions

View File

@ -12,7 +12,7 @@
tags: [ common ] tags: [ common ]
- role: adminuser - role: adminuser
tags: [ adminuser, common ] tags: [ adminuser, common ]
- role: docker - role: geerlingguy.docker
tags: [ docker, common, skip-pull ] tags: [ docker, common, skip-pull ]
- role: motd - role: motd
vars: vars:
@ -21,7 +21,7 @@
- kubelet - kubelet
- postgresql - postgresql
tags: [ motd, common ] tags: [ motd, common ]
- role: sshd - role: willshersystems.sshd
vars: vars:
sshd: sshd:
AcceptEnv: "LANG LC_*" AcceptEnv: "LANG LC_*"

View File

@ -102,7 +102,7 @@
- /data/sonarr - /data/sonarr
backup_time: "Mon *-*-* 02:00:00" backup_time: "Mon *-*-* 02:00:00"
tags: [ backup ] tags: [ backup ]
- role: postgresql - role: geerlingguy.postgresql
vars: vars:
postgresql_global_config_options: postgresql_global_config_options:
- option: listen_addresses - option: listen_addresses
@ -133,7 +133,7 @@
- name: firefly - name: firefly
owner: firefly owner: firefly
tags: [ pis, storage, psql ] tags: [ pis, storage, psql ]
- role: nfs - role: geerlingguy.nfs
vars: vars:
nfs_exports: nfs_exports:
- "/data/shared/media 192.168.0.0/16(ro,no_root_squash,sync) 172.23.0.0/16(ro,no_root_squash,sync)" - "/data/shared/media 192.168.0.0/16(ro,no_root_squash,sync) 172.23.0.0/16(ro,no_root_squash,sync)"

View File

@ -6,7 +6,7 @@
roles: roles:
- role: backup - role: backup
tags: [ backup ] tags: [ backup ]
- role: postgresql - role: geerlingguy.postgresql
vars: vars:
postgresql_global_config_options: postgresql_global_config_options:
- option: listen_addresses - option: listen_addresses

View File

@ -3,7 +3,7 @@
--- ---
- hosts: tags_snmp - hosts: tags_snmp
roles: roles:
- role: snmpd - role: oefenweb.snmpd
vars: vars:
snmpd_internal_user: snmpd_internal_user:
username: "{{ secret_snmp_internal_username }}" username: "{{ secret_snmp_internal_username }}"

View File

@ -3,29 +3,22 @@
# ansible-galaxy install -r requirements.yml # ansible-galaxy install -r requirements.yml
collections: collections:
- netbox.netbox - netbox.netbox
roles: roles:
# Upstream: https://github.com/willshersystems/ansible-sshd # Upstream: https://github.com/willshersystems/ansible-sshd
- name: sshd - src: willshersystems.sshd
src: willshersystems.sshd
version: v0.12.0 version: v0.12.0
# Upstream: https://github.com/geerlingguy/ansible-role-nfs # Upstream: https://github.com/geerlingguy/ansible-role-nfs
- name: nfs - src: geerlingguy.nfs
src: geerlingguy.nfs
version: 2.0.0 version: 2.0.0
# Upstream: https://github.com/geerlingguy/ansible-role-docker # Upstream: https://github.com/geerlingguy/ansible-role-docker
- name: docker - src: geerlingguy.docker
src: geerlingguy.docker
version: 3.0.0 version: 3.0.0
# Upstream: https://github.com/geerlingguy/ansible-role-postgresql # Upstream: https://github.com/geerlingguy/ansible-role-postgresql
- name: postgresql - src: geerlingguy.postgresql
src: geerlingguy.postgresql
version: 2.2.1 version: 2.2.1
# Upstream: https://github.com/geerlingguy/ansible-role-certbot # Upstream: https://github.com/geerlingguy/ansible-role-certbot
- name: certbot - src: geerlingguy.certbot
src: geerlingguy.certbot
version: 3.1.0 version: 3.1.0
# Upstream: https://github.com/Oefenweb/ansible-snmpd # Upstream: https://github.com/Oefenweb/ansible-snmpd
- name: snmpd - src: oefenweb.snmpd
src: oefenweb.snmpd
version: master version: master