Fix Ansible tags usage, use import_tasks
This commit is contained in:
@@ -1,36 +1,36 @@
|
||||
---
|
||||
- include_tasks: git.yml
|
||||
- import_tasks: git.yml
|
||||
when: ariane_git
|
||||
tags: ['ariane_git', 'git']
|
||||
|
||||
- include_tasks: sysctl.yml
|
||||
- import_tasks: sysctl.yml
|
||||
when: ariane_sysctl
|
||||
tags: ['ariane_sysctl', 'sysctl']
|
||||
|
||||
- include_tasks: logrotate.yml
|
||||
- import_tasks: logrotate.yml
|
||||
when: ariane_logrotate
|
||||
tags: ['ariane_logrotate', 'logrotate']
|
||||
|
||||
- include_tasks: iptables.yml
|
||||
- import_tasks: iptables.yml
|
||||
when: ariane_iptables
|
||||
tags: ['ariane_iptables', 'iptables']
|
||||
|
||||
- include_tasks: zfs.yml
|
||||
- import_tasks: zfs.yml
|
||||
when: ariane_zfs
|
||||
tags: ['ariane_zfs', 'zfs']
|
||||
|
||||
- include_tasks: lxc.yml
|
||||
- import_tasks: lxc.yml
|
||||
when: ariane_lxc
|
||||
tags: ['ariane_lxc', 'lxc']
|
||||
|
||||
- include_tasks: lxc_void.yml
|
||||
- import_tasks: lxc_void.yml
|
||||
when: ariane_lxc_void
|
||||
tags: ['ariane_lxc_void', 'lxc', 'lxc_void']
|
||||
|
||||
- include_tasks: snapper.yml
|
||||
- import_tasks: snapper.yml
|
||||
when: ariane_snapper
|
||||
tags: ['ariane_snapper', 'snapper']
|
||||
|
||||
- include_tasks: smartd.yml
|
||||
- import_tasks: smartd.yml
|
||||
when: ariane_smartd
|
||||
tags: ['ariane_smartd', 'smartd']
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
---
|
||||
- include_tasks: borg.yml
|
||||
- import_tasks: borg.yml
|
||||
when: backup_borg
|
||||
tags: ['backup', 'borg']
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
---
|
||||
- include_tasks: borg.yml
|
||||
- import_tasks: borg.yml
|
||||
when: backup_borg
|
||||
tags: ['backup', 'borg']
|
||||
|
||||
Submodule roles/common updated: 45276ec01e...bde0261bab
@@ -1,3 +1,3 @@
|
||||
---
|
||||
- include_tasks: gitea.yml
|
||||
- import_tasks: gitea.yml
|
||||
tags: [ gitea ]
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
- name: "deploying ruby sites"
|
||||
include_tasks: site.yml
|
||||
import_tasks: site.yml
|
||||
with_items: "{{ruby_sites}}"
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
---
|
||||
|
||||
- command: whoami
|
||||
register: whoami
|
||||
register: whoami
|
||||
changed_when: false
|
||||
become_user: ruby
|
||||
|
||||
|
||||
- debug: msg="{{ whoami.stdout }}"
|
||||
|
||||
- name: Stuff
|
||||
include_tasks: stuff.yml
|
||||
|
||||
- name: Stuff
|
||||
import_tasks: stuff.yml
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
---
|
||||
- include_tasks: nut.yml
|
||||
- import_tasks: nut.yml
|
||||
tags: [ nut ]
|
||||
|
||||
Reference in New Issue
Block a user