Browse Source

ansible "include" is deprecated. use "include_tasks".

Thomas Buck 6 months ago
parent
commit
96c235798d

+ 1
- 1
roles/backup/tasks/main.yml View File

@@ -1 +1 @@
1
-- include: backup.yml tags=backup
1
+- include_tasks: backup.yml

+ 3
- 3
roles/blog/tasks/main.yml View File

@@ -1,3 +1,3 @@
1
-- include: blog.yml tags=blog
2
-- include: fathom.yml tags=blog
3
-- include: commento.yml tags=blog
1
+- include_tasks: blog.yml
2
+- include_tasks: fathom.yml
3
+- include_tasks: commento.yml

+ 8
- 8
roles/common/tasks/main.yml View File

@@ -1,10 +1,10 @@
1 1
 ---
2 2
 
3
-- include: basics.yml tags=basics
4
-- include: users.yml tags=users
5
-- include: apache.yml tags=apache
6
-- include: ufw.yml tags=ufw
7
-- include: security.yml tags=security
8
-- include: ntp.yml tags=ntp
9
-- include: postgres.yml
10
-- include: swap.yml
3
+- include_tasks: basics.yml
4
+- include_tasks: users.yml
5
+- include_tasks: apache.yml
6
+- include_tasks: ufw.yml
7
+- include_tasks: security.yml
8
+- include_tasks: ntp.yml
9
+- include_tasks: postgres.yml
10
+- include_tasks: swap.yml

+ 1
- 1
roles/dokuwiki/tasks/main.yml View File

@@ -1 +1 @@
1
-- include: dokuwiki.yml tags=dokuwiki
1
+- include_tasks: dokuwiki.yml

+ 1
- 1
roles/gitea/tasks/main.yml View File

@@ -1 +1 @@
1
-- include: gitea.yml tags=gitea
1
+- include_tasks: gitea.yml

+ 1
- 1
roles/gpodder/tasks/main.yml View File

@@ -1 +1 @@
1
-- include: gpodder.yml tags=gpodder
1
+- include_tasks: gpodder.yml

+ 6
- 6
roles/iot/tasks/main.yml View File

@@ -1,6 +1,6 @@
1
-- include: grafana.yml tags=iot
2
-- include: influx.yml tags=iot
3
-- include: mosquitto.yml tags=iot
4
-- include: mqtt_admin.yml tags=iot
5
-- include: nodered.yml tags=iot
6
-- include: lights.yml tags=iot
1
+- include_tasks: grafana.yml
2
+- include_tasks: influx.yml
3
+- include_tasks: mosquitto.yml
4
+- include_tasks: mqtt_admin.yml
5
+- include_tasks: nodered.yml
6
+- include_tasks: lights.yml

+ 1
- 1
roles/ircbouncer/tasks/main.yml View File

@@ -1 +1 @@
1
-- include: znc.yml tags=znc
1
+- include_tasks: znc.yml

+ 1
- 1
roles/jitsi/tasks/main.yml View File

@@ -1,2 +1,2 @@
1 1
 ---
2
-- include: jitsi.yml tags=jitsi
2
+- include_tasks: jitsi.yml

+ 1
- 1
roles/kanboard/tasks/main.yml View File

@@ -1,2 +1,2 @@
1 1
 ---
2
-- include: kanboard.yml tags=kanboard
2
+- include_tasks: kanboard.yml

+ 2
- 2
roles/ldap/tasks/main.yml View File

@@ -1,2 +1,2 @@
1
-- include: slapd.yml tags=ldap
2
-- include: fusiondirectory.yml tags=ldap
1
+- include_tasks: slapd.yml
2
+- include_tasks: fusiondirectory.yml

+ 1
- 1
roles/limesurvey/tasks/main.yml View File

@@ -1,2 +1,2 @@
1 1
 ---
2
-- include: limesurvey.yml tags=limesurvey
2
+- include_tasks: limesurvey.yml

+ 7
- 14
roles/mailserver/tasks/main.yml View File

@@ -1,18 +1,11 @@
1 1
 ---
2 2
 # Installs and configures the mail system.
3 3
 
4
-- include: postfix.yml
5
-  tags: postfix
6
-- include: dovecot.yml
7
-  tags: dovecot
8
-- include: rspamd.yml
9
-  tags: rspamd
10
-- include: solr.yml
11
-  tags: solr
12
-- include: checkrbl.yml
13
-  tags: checkrbl
14
-- include: z-push.yml
15
-  tags: zpush
16
-- include: autoconfig.yml
17
-  tags: autoconfig
4
+- include_tasks: postfix.yml
5
+- include_tasks: dovecot.yml
6
+- include_tasks: rspamd.yml
7
+- include_tasks: solr.yml
8
+- include_tasks: checkrbl.yml
9
+- include_tasks: z-push.yml
10
+- include_tasks: autoconfig.yml
18 11
 

+ 1
- 1
roles/mastodon/tasks/main.yml View File

@@ -1 +1 @@
1
-- include: mastodon.yml tags=mastodon
1
+- include_tasks: mastodon.yml

+ 2
- 2
roles/matrix/tasks/main.yml View File

@@ -1,5 +1,5 @@
1 1
 ---
2 2
 # Provides the Synapse Matrix homeserver and the Riot.im client
3 3
 #
4
-- include: riot.yml tags=matrix
5
-- include: synapse.yml tags=matrix
4
+- include_tasks: riot.yml
5
+- include_tasks: synapse.yml

+ 2
- 2
roles/monitoring/tasks/main.yml View File

@@ -1,2 +1,2 @@
1
-- include: monit.yml tags=monit
2
-- include: logwatch.yml tags=logwatch
1
+- include_tasks: monit.yml
2
+- include_tasks: logwatch.yml

+ 1
- 1
roles/news/tasks/main.yml View File

@@ -1 +1 @@
1
-- include: selfoss.yml tags=selfoss
1
+- include_tasks: selfoss.yml

+ 1
- 1
roles/nextcloud/tasks/main.yml View File

@@ -1 +1 @@
1
-- include: nextcloud.yml tags=nextcloud
1
+- include_tasks: nextcloud.yml

+ 1
- 1
roles/rocketchat/tasks/main.yml View File

@@ -1,2 +1,2 @@
1 1
 ---
2
-- include: rocketchat.yml tags=rocketchat
2
+- include_tasks: rocketchat.yml

+ 3
- 3
roles/sslletsencrypt/tasks/main.yml View File

@@ -1,4 +1,4 @@
1 1
 ---
2
-- include: ssl.yml tags=ssl
3
-- include: letsencrypt.yml tags=letsencrypt
4
-- include: ufw.yml tags=ufw
2
+- include_tasks: ssl.yml
3
+- include_tasks: letsencrypt.yml
4
+- include_tasks: ufw.yml

+ 3
- 3
roles/sslselfsigned/tasks/main.yml View File

@@ -1,5 +1,5 @@
1 1
 ---
2 2
 
3
-- include: ssl.yml tags=ssl
4
-- include: selfsigned.yml
5
-- include: ufw.yml tags=ufw
3
+- include_tasks: ssl.yml
4
+- include_tasks: selfsigned.yml
5
+- include_tasks: ufw.yml

+ 1
- 1
roles/vpn/tasks/main.yml View File

@@ -1 +1 @@
1
-- include: openvpn.yml tags=openvpn
1
+- include_tasks: openvpn.yml

+ 1
- 1
roles/webmail/tasks/main.yml View File

@@ -1 +1 @@
1
-- include: roundcube.yml tags=roundcube
1
+- include_tasks: roundcube.yml

Loading…
Cancel
Save