Browse Source

Using more verbose 'dependencies' tag (#393)

Manfred Touron 9 years ago
parent
commit
16c93ea486
No account linked to committer's email address

+ 1
- 1
README.md View File

182
 
182
 
183
 You might find that it fails at one point or another. This is probably because something needs to be done manually, usually because there’s no good way of automating it. Fortunately, all the tasks are clearly named so you should be able to find out where it stopped. I’ve tried to add comments where manual intervention is necessary.
183
 You might find that it fails at one point or another. This is probably because something needs to be done manually, usually because there’s no good way of automating it. Fortunately, all the tasks are clearly named so you should be able to find out where it stopped. I’ve tried to add comments where manual intervention is necessary.
184
 
184
 
185
-The `deps` tag installs dependencies, the tagged tasks do not rely on the user settings (`vars/user.yml`).
185
+The `dependencies` tag installs dependencies, the tagged tasks do not rely on the user settings (`vars/user.yml`).
186
 You might find that very convenient for cloud/Docker images.
186
 You might find that very convenient for cloud/Docker images.
187
 
187
 
188
 ### 6. Set up DNS
188
 ### 6. Set up DNS

+ 1
- 1
roles/common/tasks/encfs.yml View File

5
     - fuse
5
     - fuse
6
     - libfuse-dev
6
     - libfuse-dev
7
   tags:
7
   tags:
8
-    - deps
8
+    - dependencies
9
 
9
 
10
 - name: Create encrypted directory
10
 - name: Create encrypted directory
11
   file: state=directory path=/encrypted
11
   file: state=directory path=/encrypted

+ 1
- 1
roles/common/tasks/google_auth.yml View File

8
     - libpam0g-dev
8
     - libpam0g-dev
9
     - libqrencode3
9
     - libqrencode3
10
   tags:
10
   tags:
11
-    - deps
11
+    - dependencies
12
 
12
 
13
 - name: Download Google authenticator pam module
13
 - name: Download Google authenticator pam module
14
   get_url: url=https://google-authenticator.googlecode.com/files/libpam-google-authenticator-{{ google_auth_version }}-source.tar.bz2
14
   get_url: url=https://google-authenticator.googlecode.com/files/libpam-google-authenticator-{{ google_auth_version }}-source.tar.bz2

+ 1
- 1
roles/common/tasks/google_auth_mod.yml View File

9
     - libpam0g-dev
9
     - libpam0g-dev
10
     - libqrencode3
10
     - libqrencode3
11
   tags:
11
   tags:
12
-    - deps
12
+    - dependencies
13
 
13
 
14
 - name: Update sshd config to enable challenge responses
14
 - name: Update sshd config to enable challenge responses
15
   lineinfile: dest=/etc/ssh/sshd_config
15
   lineinfile: dest=/etc/ssh/sshd_config

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

4
   template: src=apt_sources.list.j2 dest=/etc/apt/sources.list
4
   template: src=apt_sources.list.j2 dest=/etc/apt/sources.list
5
   when: ansible_distribution == 'Ubuntu'
5
   when: ansible_distribution == 'Ubuntu'
6
   tags:
6
   tags:
7
-    - deps
7
+    - dependencies
8
 
8
 
9
 - name: Update apt cache
9
 - name: Update apt cache
10
   apt: update_cache=yes
10
   apt: update_cache=yes
11
   tags:
11
   tags:
12
-    - deps
12
+    - dependencies
13
 
13
 
14
 - name: Upgrade all safe packages
14
 - name: Upgrade all safe packages
15
   apt: upgrade=safe
15
   apt: upgrade=safe
16
   tags:
16
   tags:
17
-    - deps
17
+    - dependencies
18
 
18
 
19
 - name: Install necessities and nice-to-haves
19
 - name: Install necessities and nice-to-haves
20
   apt: pkg={{ item }} state=installed
20
   apt: pkg={{ item }} state=installed
39
     - vim
39
     - vim
40
     - zsh
40
     - zsh
41
   tags:
41
   tags:
42
-    - deps
42
+    - dependencies
43
 
43
 
44
 - name: Set timezone to UTC
44
 - name: Set timezone to UTC
45
   action: shell echo Etc/UTC > /etc/timezone
45
   action: shell echo Etc/UTC > /etc/timezone

+ 1
- 1
roles/common/tasks/ntp.yml View File

4
 - name: Install ntp
4
 - name: Install ntp
5
   apt: pkg=ntp state=installed
5
   apt: pkg=ntp state=installed
6
   tags:
6
   tags:
7
-    - deps
7
+    - dependencies
8
 
8
 
9
 - name: Configure ntp
9
 - name: Configure ntp
10
   template: src=ntp.conf.j2 dest=/etc/ntp.conf
10
   template: src=ntp.conf.j2 dest=/etc/ntp.conf

+ 1
- 1
roles/common/tasks/security.yml View File

5
     - lynis
5
     - lynis
6
     - rkhunter
6
     - rkhunter
7
   tags:
7
   tags:
8
-    - deps
8
+    - dependencies
9
 
9
 
10
 - name: Copy fail2ban configuration into place
10
 - name: Copy fail2ban configuration into place
11
   template: src=etc_fail2ban_jail.local.j2 dest=/etc/fail2ban/jail.local
11
   template: src=etc_fail2ban_jail.local.j2 dest=/etc/fail2ban/jail.local

+ 1
- 1
roles/common/tasks/ufw.yml View File

5
 - name: Install ufw
5
 - name: Install ufw
6
   apt: pkg=ufw state=present
6
   apt: pkg=ufw state=present
7
   tags:
7
   tags:
8
-    - deps
8
+    - dependencies
9
 
9
 
10
 - name: Deny everything
10
 - name: Deny everything
11
   ufw: policy=deny
11
   ufw: policy=deny

+ 1
- 1
roles/git/tasks/cgit.yml View File

6
     - libssl-dev
6
     - libssl-dev
7
     - python-pip
7
     - python-pip
8
   tags:
8
   tags:
9
-    - deps
9
+    - dependencies
10
 
10
 
11
 - name: Install cgit pip dependencies
11
 - name: Install cgit pip dependencies
12
   pip: name={{ item }}
12
   pip: name={{ item }}

+ 1
- 1
roles/git/tasks/gitolite_packaged.yml View File

10
 - name: Install gitolite3 package
10
 - name: Install gitolite3 package
11
   apt: pkg=gitolite3 state=installed
11
   apt: pkg=gitolite3 state=installed
12
   tags:
12
   tags:
13
-    - deps
13
+    - dependencies
14
 
14
 
15
 - name: Copy .gitolite.rc file
15
 - name: Copy .gitolite.rc file
16
   copy: src=home_git_.gitolite.rc
16
   copy: src=home_git_.gitolite.rc

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

16
     - python3-dev
16
     - python3-dev
17
     - swig
17
     - swig
18
   tags:
18
   tags:
19
-    - deps
19
+    - dependencies
20
 
20
 
21
 - name: Download znc release
21
 - name: Download znc release
22
   get_url: url=http://znc.in/releases/archive/znc-{{ znc_version }}.tar.gz dest=/root/znc-{{ znc_version }}.tar.gz
22
   get_url: url=http://znc.in/releases/archive/znc-{{ znc_version }}.tar.gz dest=/root/znc-{{ znc_version }}.tar.gz

+ 6
- 6
roles/mailserver/tasks/dovecot.yml View File

2
   apt_repository: repo='deb http://http.debian.net/debian wheezy-backports main'
2
   apt_repository: repo='deb http://http.debian.net/debian wheezy-backports main'
3
   when: ansible_distribution_release == 'wheezy'
3
   when: ansible_distribution_release == 'wheezy'
4
   tags:
4
   tags:
5
-    - deps
5
+    - dependencies
6
 
6
 
7
 - name: Install Dovecot and related packages on Debian 7
7
 - name: Install Dovecot and related packages on Debian 7
8
   apt: pkg={{ item }} update_cache=yes state=latest default_release=wheezy-backports
8
   apt: pkg={{ item }} update_cache=yes state=latest default_release=wheezy-backports
15
     - dovecot-pop3d
15
     - dovecot-pop3d
16
   when: ansible_distribution_release == 'wheezy'
16
   when: ansible_distribution_release == 'wheezy'
17
   tags:
17
   tags:
18
-    - deps
18
+    - dependencies
19
 
19
 
20
 - name: Install Dovecot and related packages on distributions other than Debian 7
20
 - name: Install Dovecot and related packages on distributions other than Debian 7
21
   apt: pkg={{ item }} update_cache=yes state=installed
21
   apt: pkg={{ item }} update_cache=yes state=installed
28
     - dovecot-pop3d
28
     - dovecot-pop3d
29
   when: ansible_distribution_release != 'wheezy'
29
   when: ansible_distribution_release != 'wheezy'
30
   tags:
30
   tags:
31
-    - deps
31
+    - dependencies
32
 
32
 
33
 - name: Install Postgres 9.1 for Dovecot on older distributions
33
 - name: Install Postgres 9.1 for Dovecot on older distributions
34
   apt: pkg=postgresql-9.1 state=present
34
   apt: pkg=postgresql-9.1 state=present
35
   when: ansible_distribution_release != 'trusty' and ansible_distribution_release != 'jessie'
35
   when: ansible_distribution_release != 'trusty' and ansible_distribution_release != 'jessie'
36
   tags:
36
   tags:
37
-    - deps
37
+    - dependencies
38
 
38
 
39
 - name: Install Postgres 9.3 for Dovecot on Ubuntu Trusty
39
 - name: Install Postgres 9.3 for Dovecot on Ubuntu Trusty
40
   apt: pkg=postgresql-9.3 state=present
40
   apt: pkg=postgresql-9.3 state=present
41
   when: ansible_distribution_release == 'trusty'
41
   when: ansible_distribution_release == 'trusty'
42
   tags:
42
   tags:
43
-    - deps
43
+    - dependencies
44
 
44
 
45
 - name: Install Postgres 9.4 for Dovecot on Debian Jessie
45
 - name: Install Postgres 9.4 for Dovecot on Debian Jessie
46
   apt: pkg=postgresql-9.4 state=present
46
   apt: pkg=postgresql-9.4 state=present
47
   when: ansible_distribution_release == 'jessie'
47
   when: ansible_distribution_release == 'jessie'
48
   tags:
48
   tags:
49
-    - deps
49
+    - dependencies
50
 
50
 
51
 - name: Create vmail group
51
 - name: Create vmail group
52
   group: name=vmail state=present gid=5000
52
   group: name=vmail state=present gid=5000

+ 2
- 2
roles/mailserver/tasks/dspam.yml View File

7
     - postfix-pcre
7
     - postfix-pcre
8
   when: ansible_distribution_release == 'wheezy'
8
   when: ansible_distribution_release == 'wheezy'
9
   tags:
9
   tags:
10
-    - deps
10
+    - dependencies
11
 
11
 
12
 - name: Install dspam and related packages on distributions other than wheezy
12
 - name: Install dspam and related packages on distributions other than wheezy
13
   apt: pkg={{ item }} state=installed
13
   apt: pkg={{ item }} state=installed
18
     - postfix-pcre
18
     - postfix-pcre
19
   when: ansible_distribution_release != 'wheezy'
19
   when: ansible_distribution_release != 'wheezy'
20
   tags:
20
   tags:
21
-    - deps
21
+    - dependencies
22
 
22
 
23
 - name: Create dspam directory
23
 - name: Create dspam directory
24
   file: state=directory path=/decrypted/dspam group=dspam owner=dspam
24
   file: state=directory path=/decrypted/dspam group=dspam owner=dspam

+ 1
- 1
roles/mailserver/tasks/opendkim.yml View File

7
     - opendkim
7
     - opendkim
8
     - opendkim-tools
8
     - opendkim-tools
9
   tags:
9
   tags:
10
-    - deps
10
+    - dependencies
11
 
11
 
12
 - name: Create OpenDKIM config directory
12
 - name: Create OpenDKIM config directory
13
   file: state=directory path=/etc/opendkim group=opendkim owner=opendkim
13
   file: state=directory path=/etc/opendkim group=opendkim owner=opendkim

+ 4
- 4
roles/mailserver/tasks/postfix.yml View File

2
   apt: pkg=postgresql-9.1 state=present
2
   apt: pkg=postgresql-9.1 state=present
3
   when: ansible_distribution_release != 'trusty' and ansible_distribution_release != 'jessie'
3
   when: ansible_distribution_release != 'trusty' and ansible_distribution_release != 'jessie'
4
   tags:
4
   tags:
5
-    - deps
5
+    - dependencies
6
 
6
 
7
 - name: Install Postgres 9.3 on Ubuntu Trusty
7
 - name: Install Postgres 9.3 on Ubuntu Trusty
8
   apt: pkg=postgresql-9.3 state=present
8
   apt: pkg=postgresql-9.3 state=present
9
   when: ansible_distribution_release == 'trusty'
9
   when: ansible_distribution_release == 'trusty'
10
   tags:
10
   tags:
11
-    - deps
11
+    - dependencies
12
 
12
 
13
 - name: Install Postgres 9.4 on Debian Jessie
13
 - name: Install Postgres 9.4 on Debian Jessie
14
   apt: pkg=postgresql-9.4 state=present
14
   apt: pkg=postgresql-9.4 state=present
15
   when: ansible_distribution_release == 'jessie'
15
   when: ansible_distribution_release == 'jessie'
16
   tags:
16
   tags:
17
-    - deps
17
+    - dependencies
18
 
18
 
19
 - name: Install Postfix and related packages
19
 - name: Install Postfix and related packages
20
   apt: pkg={{ item }} state=installed
20
   apt: pkg={{ item }} state=installed
27
     - python-psycopg2
27
     - python-psycopg2
28
     - sasl2-bin
28
     - sasl2-bin
29
   tags:
29
   tags:
30
-    - deps
30
+    - dependencies
31
 
31
 
32
 - name: Set postgres password
32
 - name: Set postgres password
33
   command: sudo -u {{ db_admin_username }} psql -d {{ db_admin_username }} -c "ALTER USER postgres with  password '{{ db_admin_password }}';"
33
   command: sudo -u {{ db_admin_username }} psql -d {{ db_admin_username }} -c "ALTER USER postgres with  password '{{ db_admin_password }}';"

+ 2
- 2
roles/mailserver/tasks/solr.yml View File

5
     - solr-tomcat
5
     - solr-tomcat
6
   when: ansible_distribution_release == 'wheezy'
6
   when: ansible_distribution_release == 'wheezy'
7
   tags:
7
   tags:
8
-    - deps
8
+    - dependencies
9
 
9
 
10
 - name: Install Solr and related packages on distributions other than wheezy
10
 - name: Install Solr and related packages on distributions other than wheezy
11
   apt: pkg={{ item }} state=installed
11
   apt: pkg={{ item }} state=installed
14
     - solr-tomcat
14
     - solr-tomcat
15
   when: ansible_distribution_release != 'wheezy'
15
   when: ansible_distribution_release != 'wheezy'
16
   tags:
16
   tags:
17
-    - deps
17
+    - dependencies
18
 
18
 
19
 - name: Work around Debian bug and copy Solr schema file into place
19
 - name: Work around Debian bug and copy Solr schema file into place
20
   copy: src=solr-schema.xml dest=/etc/solr/conf/schema.xml group=root owner=root
20
   copy: src=solr-schema.xml dest=/etc/solr/conf/schema.xml group=root owner=root

+ 1
- 1
roles/mailserver/tasks/z-push.yml View File

6
     - php5-cli
6
     - php5-cli
7
     - php5-imap
7
     - php5-imap
8
   tags:
8
   tags:
9
-    - deps
9
+    - dependencies
10
 
10
 
11
 - name: Download z-push release
11
 - name: Download z-push release
12
   get_url:
12
   get_url:

+ 3
- 3
roles/monitoring/tasks/collectd.yml View File

2
   apt_repository: repo='deb http://http.debian.net/debian wheezy-backports main'
2
   apt_repository: repo='deb http://http.debian.net/debian wheezy-backports main'
3
   when: ansible_distribution_release == 'wheezy'
3
   when: ansible_distribution_release == 'wheezy'
4
   tags:
4
   tags:
5
-    - deps
5
+    - dependencies
6
 
6
 
7
 - name: Install collectd dependencies on wheezy from backports
7
 - name: Install collectd dependencies on wheezy from backports
8
   apt: pkg={{ item }} state=installed default_release=wheezy-backports
8
   apt: pkg={{ item }} state=installed default_release=wheezy-backports
12
     - python-dev
12
     - python-dev
13
   when: ansible_distribution_release == 'wheezy'
13
   when: ansible_distribution_release == 'wheezy'
14
   tags:
14
   tags:
15
-    - deps
15
+    - dependencies
16
 
16
 
17
 - name: Install collectd dependencies on distributions other than wheezy
17
 - name: Install collectd dependencies on distributions other than wheezy
18
   apt: pkg={{ item }} state=installed
18
   apt: pkg={{ item }} state=installed
22
     - python-dev
22
     - python-dev
23
   when: ansible_distribution_release != 'wheezy'
23
   when: ansible_distribution_release != 'wheezy'
24
   tags:
24
   tags:
25
-    - deps
25
+    - dependencies
26
 
26
 
27
 - name: Download collectd
27
 - name: Download collectd
28
   get_url: url=http://collectd.org/files/collectd-{{collectd_version}}.tar.gz
28
   get_url: url=http://collectd.org/files/collectd-{{collectd_version}}.tar.gz

+ 1
- 1
roles/monitoring/tasks/logwatch.yml View File

4
     - libdate-manip-perl
4
     - libdate-manip-perl
5
     - logwatch
5
     - logwatch
6
   tags:
6
   tags:
7
-    - deps
7
+    - dependencies
8
 
8
 
9
 - name: Configure logwatch
9
 - name: Configure logwatch
10
   template: src=etc_logwatch_conf_logwatch.conf.j2 dest=/etc/logwatch/conf/logwatch.conf
10
   template: src=etc_logwatch_conf_logwatch.conf.j2 dest=/etc/logwatch/conf/logwatch.conf

+ 1
- 1
roles/monitoring/tasks/monit.yml View File

8
 - name: Install monit
8
 - name: Install monit
9
   apt: pkg=monit state=installed
9
   apt: pkg=monit state=installed
10
   tags:
10
   tags:
11
-    - deps
11
+    - dependencies
12
 
12
 
13
 - name: Copy monit master config file into place
13
 - name: Copy monit master config file into place
14
   copy: src=etc_monit_monitrc dest=/etc/monit/monitrc
14
   copy: src=etc_monit_monitrc dest=/etc/monit/monitrc

+ 1
- 1
roles/newebe/tasks/newebe.yml View File

16
     - python-lxml
16
     - python-lxml
17
     - supervisor
17
     - supervisor
18
   tags:
18
   tags:
19
-    - deps
19
+    - dependencies
20
 
20
 
21
 - name: Install Newebe
21
 - name: Install Newebe
22
   pip: name='git+https://github.com/gelnior/newebe.git#egg=newebe'
22
   pip: name='git+https://github.com/gelnior/newebe.git#egg=newebe'

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

24
     - php5-pgsql
24
     - php5-pgsql
25
     - php5-gd
25
     - php5-gd
26
   tags:
26
   tags:
27
-    - deps
27
+    - dependencies
28
 
28
 
29
 - name: Create database user for selfoss
29
 - name: Create database user for selfoss
30
   postgresql_user: login_host=localhost login_user={{ db_admin_username }} login_password="{{ db_admin_password }}" name={{ selfoss_db_username }} password="{{ selfoss_db_password }}" state=present
30
   postgresql_user: login_host=localhost login_user={{ db_admin_username }} login_password="{{ db_admin_password }}" name={{ selfoss_db_username }} password="{{ selfoss_db_password }}" state=present

+ 10
- 10
roles/owncloud/tasks/owncloud.yml View File

6
   apt: pkg=postgresql-9.1 state=present
6
   apt: pkg=postgresql-9.1 state=present
7
   when: ansible_distribution_release != 'trusty'
7
   when: ansible_distribution_release != 'trusty'
8
   tags:
8
   tags:
9
-    - deps
9
+    - dependencies
10
 
10
 
11
 - name: Install Postgres 9.3 on Ubuntu Trusty
11
 - name: Install Postgres 9.3 on Ubuntu Trusty
12
   apt: pkg=postgresql-9.3 state=present
12
   apt: pkg=postgresql-9.3 state=present
13
   when: ansible_distribution_release == 'trusty'
13
   when: ansible_distribution_release == 'trusty'
14
   tags:
14
   tags:
15
-    - deps
15
+    - dependencies
16
 
16
 
17
 - name: Install ownCloud dependencies
17
 - name: Install ownCloud dependencies
18
   apt: pkg={{ item }} state=present
18
   apt: pkg={{ item }} state=present
21
     - php-apc
21
     - php-apc
22
     - python-psycopg2
22
     - python-psycopg2
23
   tags:
23
   tags:
24
-    - deps
24
+    - dependencies
25
 
25
 
26
 - name: Set postgres password
26
 - name: Set postgres password
27
   command: sudo -u {{ db_admin_username }} psql -d {{ db_admin_username }} -c "ALTER USER postgres with  password '{{ db_admin_password }}';"
27
   command: sudo -u {{ db_admin_username }} psql -d {{ db_admin_username }} -c "ALTER USER postgres with  password '{{ db_admin_password }}';"
36
   apt_key: url=http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key state=present
36
   apt_key: url=http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key state=present
37
   when: ansible_distribution_release == 'wheezy'
37
   when: ansible_distribution_release == 'wheezy'
38
   tags:
38
   tags:
39
-    - deps
39
+    - dependencies
40
 
40
 
41
 - name: Add ownCloud OpenSuSE repository for Debian 7
41
 - name: Add ownCloud OpenSuSE repository for Debian 7
42
   apt_repository: repo='deb http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/ /'
42
   apt_repository: repo='deb http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/ /'
43
   when: ansible_distribution_release == 'wheezy'
43
   when: ansible_distribution_release == 'wheezy'
44
   tags:
44
   tags:
45
-    - deps
45
+    - dependencies
46
 
46
 
47
 - name: Ensure repository key for ownCloud is in place for Ubuntu 14.04
47
 - name: Ensure repository key for ownCloud is in place for Ubuntu 14.04
48
   apt_key: url=http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key state=present
48
   apt_key: url=http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key state=present
49
   when: ansible_distribution_release == 'trusty'
49
   when: ansible_distribution_release == 'trusty'
50
   tags:
50
   tags:
51
-    - deps
51
+    - dependencies
52
 
52
 
53
 - name: Add ownCloud OpenSuSE repository for Ubuntu 14.04
53
 - name: Add ownCloud OpenSuSE repository for Ubuntu 14.04
54
   apt_repository: repo='deb http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/ /'
54
   apt_repository: repo='deb http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/ /'
55
   when: ansible_distribution_release == 'trusty'
55
   when: ansible_distribution_release == 'trusty'
56
   tags:
56
   tags:
57
-    - deps
57
+    - dependencies
58
 
58
 
59
 - name: Ensure repository key for ownCloud is in place for Ubuntu 12.04
59
 - name: Ensure repository key for ownCloud is in place for Ubuntu 12.04
60
   apt_key: url=http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/Release.key state=present
60
   apt_key: url=http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/Release.key state=present
61
   when: ansible_distribution_release == 'precise'
61
   when: ansible_distribution_release == 'precise'
62
   tags:
62
   tags:
63
-    - deps
63
+    - dependencies
64
 
64
 
65
 - name: Add ownCloud OpenSuSE repository for Ubuntu 12.04
65
 - name: Add ownCloud OpenSuSE repository for Ubuntu 12.04
66
   apt_repository: repo='deb http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/ /'
66
   apt_repository: repo='deb http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/ /'
67
   when: ansible_distribution_release == 'precise'
67
   when: ansible_distribution_release == 'precise'
68
   tags:
68
   tags:
69
-    - deps
69
+    - dependencies
70
 
70
 
71
 - name: Install ownCloud (possibly from OpenSuSE repository)
71
 - name: Install ownCloud (possibly from OpenSuSE repository)
72
   apt: pkg=owncloud update_cache=yes
72
   apt: pkg=owncloud update_cache=yes
73
   tags:
73
   tags:
74
-    - deps
74
+    - dependencies
75
 
75
 
76
 - name: Owncloud www directory
76
 - name: Owncloud www directory
77
   file: state=directory path=/var/www/owncloud
77
   file: state=directory path=/var/www/owncloud

+ 1
- 1
roles/readlater/tasks/wallabag.yml View File

21
     - php5-pgsql
21
     - php5-pgsql
22
     - php5-tidy
22
     - php5-tidy
23
   tags:
23
   tags:
24
-    - deps
24
+    - dependencies
25
 
25
 
26
 - name: Create database user for wallabag
26
 - name: Create database user for wallabag
27
   postgresql_user: login_host=localhost
27
   postgresql_user: login_host=localhost

+ 2
- 2
roles/tarsnap/tasks/tarsnap.yml View File

4
   changed_when: "tarnsap_installed.stderr != ''"
4
   changed_when: "tarnsap_installed.stderr != ''"
5
   ignore_errors: yes
5
   ignore_errors: yes
6
   tags:
6
   tags:
7
-    - deps
7
+    - dependencies
8
 
8
 
9
 - name: Install dependencies for Tarsnap
9
 - name: Install dependencies for Tarsnap
10
   when: tarnsap_installed|failed
10
   when: tarnsap_installed|failed
14
     - libssl-dev
14
     - libssl-dev
15
     - zlib1g-dev
15
     - zlib1g-dev
16
   tags:
16
   tags:
17
-    - deps
17
+    - dependencies
18
 
18
 
19
 - name: Download the current tarsnap code signing key
19
 - name: Download the current tarsnap code signing key
20
   when: tarnsap_installed|failed
20
   when: tarnsap_installed|failed

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

9
     - openvpn
9
     - openvpn
10
     - udev
10
     - udev
11
   tags:
11
   tags:
12
-    - deps
12
+    - dependencies
13
 
13
 
14
 - name: Generate RSA keys for the CA and Server
14
 - name: Generate RSA keys for the CA and Server
15
   command: openssl genrsa -out {{ item }}.key {{ openvpn_key_size }}
15
   command: openssl genrsa -out {{ item }}.key {{ openvpn_key_size }}

+ 4
- 4
roles/webmail/tasks/roundcube.yml View File

2
   lineinfile: dest=/etc/apt/sources.list line="deb http://http.debian.net/debian wheezy-backports main"
2
   lineinfile: dest=/etc/apt/sources.list line="deb http://http.debian.net/debian wheezy-backports main"
3
   when: ansible_distribution_release == 'wheezy'
3
   when: ansible_distribution_release == 'wheezy'
4
   tags:
4
   tags:
5
-    - deps
5
+    - dependencies
6
   
6
   
7
 - name: Update apt cache for backports
7
 - name: Update apt cache for backports
8
   apt: update_cache=yes
8
   apt: update_cache=yes
9
   tags:
9
   tags:
10
-    - deps
10
+    - dependencies
11
 
11
 
12
 - name: Install Roundcube from wheezy-backports
12
 - name: Install Roundcube from wheezy-backports
13
   apt: pkg={{ item }} state=latest default_release=wheezy-backports
13
   apt: pkg={{ item }} state=latest default_release=wheezy-backports
17
   - roundcube-plugins
17
   - roundcube-plugins
18
   when: ansible_distribution_release == 'wheezy'
18
   when: ansible_distribution_release == 'wheezy'
19
   tags:
19
   tags:
20
-    - deps
20
+    - dependencies
21
 
21
 
22
 - name: Install Roundcube on Ubuntu 14.04 LTS
22
 - name: Install Roundcube on Ubuntu 14.04 LTS
23
   apt: pkg={{ item }} state=latest
23
   apt: pkg={{ item }} state=latest
27
   - roundcube-plugins
27
   - roundcube-plugins
28
   when: ansible_distribution_release == 'trusty'
28
   when: ansible_distribution_release == 'trusty'
29
   tags:
29
   tags:
30
-    - deps
30
+    - dependencies
31
 
31
 
32
 - name: Configure Roundcube database
32
 - name: Configure Roundcube database
33
   template: src={{ item.src }} dest={{ item.dest }} group={{ item.group }} mode={{ item.mode }} owner=root force=yes
33
   template: src={{ item.src }} dest={{ item.dest }} group={{ item.group }} mode={{ item.mode }} owner=root force=yes

+ 5
- 5
roles/xmpp/tasks/prosody.yml View File

1
 - name: Ensure repository key for Prosody is in place
1
 - name: Ensure repository key for Prosody is in place
2
   apt_key: url=https://prosody.im/files/prosody-debian-packages.key state=present
2
   apt_key: url=https://prosody.im/files/prosody-debian-packages.key state=present
3
   tags:
3
   tags:
4
-    - deps
4
+    - dependencies
5
 
5
 
6
 # Prosody supplies repo for sid, squeeze, wheezy, jessie, trusty, saucy, raring, quantal, precise and lucid
6
 # Prosody supplies repo for sid, squeeze, wheezy, jessie, trusty, saucy, raring, quantal, precise and lucid
7
 - name: Add Prosody Debian/Ubuntu repository
7
 - name: Add Prosody Debian/Ubuntu repository
8
   apt_repository: repo="deb http://packages.prosody.im/debian {{ ansible_distribution_release }} main"
8
   apt_repository: repo="deb http://packages.prosody.im/debian {{ ansible_distribution_release }} main"
9
   tags:
9
   tags:
10
-    - deps
10
+    - dependencies
11
 
11
 
12
 - name: Install Prosody from official repository
12
 - name: Install Prosody from official repository
13
   apt: pkg=prosody update_cache=yes
13
   apt: pkg=prosody update_cache=yes
14
   tags:
14
   tags:
15
-    - deps
15
+    - dependencies
16
 
16
 
17
 - name: Install lua-sec-prosody on Debian Wheezy and Ubuntu Precise
17
 - name: Install lua-sec-prosody on Debian Wheezy and Ubuntu Precise
18
   apt: pkg=lua-sec-prosody update_cache=yes
18
   apt: pkg=lua-sec-prosody update_cache=yes
19
   when: ansible_distribution_release == 'wheezy' or ansible_distribution_release == 'precise'
19
   when: ansible_distribution_release == 'wheezy' or ansible_distribution_release == 'precise'
20
   tags:
20
   tags:
21
-    - deps
21
+    - dependencies
22
 
22
 
23
 
23
 
24
 - name: Install lua-sec 0.5+
24
 - name: Install lua-sec 0.5+
25
   apt: pkg=lua-sec update_cache=yes
25
   apt: pkg=lua-sec update_cache=yes
26
   when: ansible_distribution_release == 'trusty' or ansible_distribution_release == 'jessie'
26
   when: ansible_distribution_release == 'trusty' or ansible_distribution_release == 'jessie'
27
   tags:
27
   tags:
28
-    - deps
28
+    - dependencies
29
 
29
 
30
 - name: Add prosody user to ssl-cert group
30
 - name: Add prosody user to ssl-cert group
31
   user: name=prosody groups=ssl-cert append=yes
31
   user: name=prosody groups=ssl-cert append=yes

Loading…
Cancel
Save