Procházet zdrojové kódy

Merge branch 'pkginstall' of github.com:Titan-C/sovereign

Thomas Buck před 6 roky
rodič
revize
16742027f2

+ 1
- 1
roles/common/tasks/encfs.yml Zobrazit soubor

@@ -1,5 +1,5 @@
1 1
 - name: Install encfs & fuse
2
-  apt: pkg={{ item }} state=installed
2
+  apt: pkg={{ item }} state=present
3 3
   with_items:
4 4
     - encfs
5 5
     - fuse

+ 1
- 1
roles/common/tasks/main.yml Zobrazit soubor

@@ -10,7 +10,7 @@
10 10
     - dependencies
11 11
 
12 12
 - name: Install necessities and nice-to-haves
13
-  apt: pkg={{ item }} state=installed
13
+  apt: pkg={{ item }} state=present
14 14
   with_items:
15 15
     - apache2
16 16
     - apt-transport-https

+ 1
- 1
roles/common/tasks/ntp.yml Zobrazit soubor

@@ -2,7 +2,7 @@
2 2
 # Defines tasks applicable for NTP (Network Time Protocol)
3 3
 
4 4
 - name: Install ntp
5
-  apt: pkg=ntp state=installed
5
+  apt: pkg=ntp state=present
6 6
   tags:
7 7
     - dependencies
8 8
 

+ 1
- 1
roles/common/tasks/postgres.yml Zobrazit soubor

@@ -2,7 +2,7 @@
2 2
 # Defines tasks applicable for postgreSQL
3 3
 
4 4
 - name: Install Postgres
5
-  apt: pkg={{ item }} state=installed
5
+  apt: pkg={{ item }} state=present
6 6
   with_items:
7 7
     - postgresql
8 8
     - python-psycopg2

+ 1
- 2
roles/common/tasks/security.yml Zobrazit soubor

@@ -1,5 +1,5 @@
1 1
 - name: Install security-related packages
2
-  apt: pkg={{ item }} state=installed
2
+  apt: pkg={{ item }} state=present
3 3
   with_items:
4 4
     - fail2ban
5 5
     - whois
@@ -25,4 +25,3 @@
25 25
 
26 26
 - name: Update ssh config for more secure defaults
27 27
   template: src=etc_ssh_ssh_config.j2 dest=/etc/ssh/ssh_config
28
-

+ 1
- 1
roles/git/tasks/cgit.yml Zobrazit soubor

@@ -1,6 +1,6 @@
1 1
 
2 2
 - name: Install cgit dependencies
3
-  apt: pkg={{ item }} state=installed
3
+  apt: pkg={{ item }} state=present
4 4
   with_items:
5 5
     - groff
6 6
     - libssl-dev

+ 1
- 1
roles/git/tasks/gitolite.yml Zobrazit soubor

@@ -8,7 +8,7 @@
8 8
   user: name=www-data groups=git append=yes
9 9
 
10 10
 - name: Install gitolite3 package
11
-  apt: pkg=gitolite3 state=installed
11
+  apt: pkg=gitolite3 state=present
12 12
   tags:
13 13
     - dependencies
14 14
 

+ 1
- 1
roles/ircbouncer/tasks/znc.yml Zobrazit soubor

@@ -1,7 +1,7 @@
1 1
 # more or less as per http://wiki.znc.in/Running_ZNC_as_a_system_daemon
2 2
 
3 3
 - name: Install znc
4
-  apt: pkg={{ item }} state=installed
4
+  apt: pkg={{ item }} state=present
5 5
   with_items:
6 6
     - znc
7 7
   tags:

+ 1
- 1
roles/mailserver/tasks/dovecot.yml Zobrazit soubor

@@ -1,5 +1,5 @@
1 1
 - name: Install Dovecot and related packages
2
-  apt: pkg={{ item }} update_cache=yes state=installed
2
+  apt: pkg={{ item }} update_cache=yes state=present
3 3
   with_items:
4 4
     - dovecot-core
5 5
     - dovecot-imapd

+ 1
- 1
roles/mailserver/tasks/postfix.yml Zobrazit soubor

@@ -1,5 +1,5 @@
1 1
 - name: Install Postfix and related packages
2
-  apt: pkg={{ item }} state=installed
2
+  apt: pkg={{ item }} state=present
3 3
   with_items:
4 4
     - libsasl2-modules
5 5
     - postfix

+ 1
- 1
roles/mailserver/tasks/rspamd.yml Zobrazit soubor

@@ -26,7 +26,7 @@
26 26
     - dependencies
27 27
 
28 28
 - name: Install Rspamd and Redis
29
-  apt: pkg={{ item }} state=installed update_cache=yes
29
+  apt: pkg={{ item }} state=present update_cache=yes
30 30
   with_items:
31 31
     - rspamd
32 32
     - redis-server

+ 1
- 1
roles/mailserver/tasks/solr.yml Zobrazit soubor

@@ -1,5 +1,5 @@
1 1
 - name: Install Solr and related packages
2
-  apt: pkg={{ item }} state=installed
2
+  apt: pkg={{ item }} state=present
3 3
   with_items:
4 4
     - dovecot-solr
5 5
     - solr-tomcat

+ 2
- 2
roles/mailserver/tasks/z-push.yml Zobrazit soubor

@@ -1,5 +1,5 @@
1 1
 - name: Install required packages for z-push (PHP5 variant)
2
-  apt: pkg={{ item }} state=installed
2
+  apt: pkg={{ item }} state=present
3 3
   with_items:
4 4
     - php-soap
5 5
     - php5
@@ -10,7 +10,7 @@
10 10
     - dependencies
11 11
 
12 12
 - name: Install required packages for z-push
13
-  apt: pkg={{ item }} state=installed
13
+  apt: pkg={{ item }} state=present
14 14
   with_items:
15 15
     - php-soap
16 16
     - php

+ 1
- 1
roles/monitoring/tasks/collectd.yml Zobrazit soubor

@@ -1,5 +1,5 @@
1 1
 - name: Install collectd
2
-  apt: pkg=collectd state=installed
2
+  apt: pkg=collectd state=present
3 3
   tags:
4 4
       - dependencies
5 5
 

+ 1
- 1
roles/monitoring/tasks/logwatch.yml Zobrazit soubor

@@ -1,5 +1,5 @@
1 1
 - name: Install logwatch
2
-  apt: pkg={{ item }} state=installed
2
+  apt: pkg={{ item }} state=present
3 3
   with_items:
4 4
     - libdate-manip-perl
5 5
     - logwatch

+ 1
- 2
roles/monitoring/tasks/monit.yml Zobrazit soubor

@@ -6,7 +6,7 @@
6 6
   notify: restart apache
7 7
 
8 8
 - name: Install monit
9
-  apt: pkg=monit state=installed
9
+  apt: pkg=monit state=present
10 10
   tags:
11 11
     - dependencies
12 12
 
@@ -33,4 +33,3 @@
33 33
     - sshd
34 34
     - tomcat
35 35
   notify: restart monit
36
-

+ 1
- 1
roles/tarsnap/tasks/tarsnap.yml Zobrazit soubor

@@ -8,7 +8,7 @@
8 8
 
9 9
 - name: Install dependencies for Tarsnap
10 10
   when: tarsnap_installed|failed
11
-  apt: pkg={{ item }} state=installed
11
+  apt: pkg={{ item }} state=present
12 12
   with_items:
13 13
     - e2fslibs-dev
14 14
     - libssl-dev

+ 1
- 1
roles/vpn/tasks/openvpn.yml Zobrazit soubor

@@ -3,7 +3,7 @@
3 3
 # ref: https://library.linode.com/networking/openvpn/debian-6-squeeze
4 4
 
5 5
 - name: Install OpenVPN and dependencies
6
-  apt: pkg={{ item }} state=installed
6
+  apt: pkg={{ item }} state=present
7 7
   with_items:
8 8
     - dnsmasq
9 9
     - openvpn

Loading…
Zrušit
Uložit