Skip to content
Snippets Groups Projects
Commit 6f712c05 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

chore: remove individual tags from tags, as we use tag inheritance now

parent 497ee0df
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
dest: "/etc/logrotate.d/" dest: "/etc/logrotate.d/"
notify: notify:
- restart apache - restart apache
tags: [apache]
- name: Konfigurationsdateien einspielen (templated) - name: Konfigurationsdateien einspielen (templated)
template: template:
...@@ -22,7 +21,6 @@ ...@@ -22,7 +21,6 @@
dest: "/etc/apache2/sites-available/000-default.conf" dest: "/etc/apache2/sites-available/000-default.conf"
notify: notify:
- restart apache - restart apache
tags: [apache]
# symlink /etc/apache2/mods-available/cgi.load to /etc/apache2/mods-enabled/ # symlink /etc/apache2/mods-available/cgi.load to /etc/apache2/mods-enabled/
- name: CGI-Extension-Modul aktivieren - name: CGI-Extension-Modul aktivieren
...@@ -30,21 +28,18 @@ ...@@ -30,21 +28,18 @@
name: "cgid" name: "cgid"
notify: notify:
- restart apache - restart apache
tags: [apache]
# symlink /etc/apache2/conf-available/serve-cgi-bin.conf to /etc/apache2/conf-enabled/ # symlink /etc/apache2/conf-available/serve-cgi-bin.conf to /etc/apache2/conf-enabled/
- name: CGI-Extension-Config aktivieren - name: CGI-Extension-Config aktivieren
command: "/usr/sbin/a2enconf serve-cgi-bin" # noqa 301 command: "/usr/sbin/a2enconf serve-cgi-bin" # noqa 301
notify: notify:
- restart apache - restart apache
tags: [apache]
### STARTSEITE INSTALLIEREN ### ### STARTSEITE INSTALLIEREN ###
- name: alte Startseite löschen - name: alte Startseite löschen
file: file:
path: "/var/www/html/index.html" path: "/var/www/html/index.html"
state: absent state: absent
tags: [apache]
- name: Startseite neu installieren - name: Startseite neu installieren
blockinfile: blockinfile:
...@@ -71,7 +66,6 @@ ...@@ -71,7 +66,6 @@
</body> </body>
</html> </html>
insertafter: EOF insertafter: EOF
tags: [apache]
- name: set HTTP timeout - name: set HTTP timeout
lineinfile: lineinfile:
...@@ -81,4 +75,3 @@ ...@@ -81,4 +75,3 @@
state: present state: present
notify: notify:
- restart apache - restart apache
tags: [apache]
...@@ -10,4 +10,3 @@ ...@@ -10,4 +10,3 @@
minute: "0" minute: "0"
user: "{{ vault_users.0.name }}" user: "{{ vault_users.0.name }}"
job: 'find /tmp/ -maxdepth 1 -name "tmpfile*" -mtime +1 -exec rm \{\} \; >/dev/null 2>&1' job: 'find /tmp/ -maxdepth 1 -name "tmpfile*" -mtime +1 -exec rm \{\} \; >/dev/null 2>&1'
tags: [cron]
...@@ -18,4 +18,3 @@ ...@@ -18,4 +18,3 @@
loop: "{{ vault_iptables|flatten(levels=1) }}" loop: "{{ vault_iptables|flatten(levels=1) }}"
notify: notify:
- save iptables rules - save iptables rules
tags: [iptables]
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
file: file:
path: "{{ vault_nfs_mounts.log.mountpoint }}{{ ansible_hostname }}" path: "{{ vault_nfs_mounts.log.mountpoint }}{{ ansible_hostname }}"
state: directory state: directory
tags: [log]
- name: NFS-Shares fuer Logging mounten - name: NFS-Shares fuer Logging mounten
mount: mount:
...@@ -12,4 +11,4 @@ ...@@ -12,4 +11,4 @@
state: mounted state: mounted
fstype: "nfs" fstype: "nfs"
opts: "defaults,nodev,nosuid,rsize=65536,wsize=65536,vers=3" opts: "defaults,nodev,nosuid,rsize=65536,wsize=65536,vers=3"
tags: [log, notest] tags: [notest]
...@@ -7,4 +7,3 @@ ...@@ -7,4 +7,3 @@
path: "/tmp" path: "/tmp"
src: "tmpfs" src: "tmpfs"
state: mounted state: mounted
tags: [mount]
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
name: "{{ item.name }}" name: "{{ item.name }}"
gid: "{{ item.gid }}" gid: "{{ item.gid }}"
loop: "{{ vault_groups | flatten(levels=1) }}" loop: "{{ vault_groups | flatten(levels=1) }}"
tags: [users]
- name: User in Gruppen einfügen und primäre Gruppe setzen - name: User in Gruppen einfügen und primäre Gruppe setzen
user: user:
...@@ -12,4 +11,3 @@ ...@@ -12,4 +11,3 @@
group: "{{ item.group }}" group: "{{ item.group }}"
groups: "{{ item.groups }}" groups: "{{ item.groups }}"
loop: "{{ vault_users | flatten(levels=1) }}" loop: "{{ vault_users | flatten(levels=1) }}"
tags: [users]
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
path: "/usr/lib/cgi-bin/" path: "/usr/lib/cgi-bin/"
state: directory state: directory
mode: "0755" mode: "0755"
tags: [callaspdf]
- name: remove old version of callas PDFEngine - name: remove old version of callas PDFEngine
file: file:
...@@ -12,12 +11,10 @@ ...@@ -12,12 +11,10 @@
state: absent state: absent
loop: loop:
- "/usr/local/lib/callas_pdfEngine_SDK_x64" - "/usr/local/lib/callas_pdfEngine_SDK_x64"
tags: [callaspdf]
- name: create new dest directory for callas PDFEngine - name: create new dest directory for callas PDFEngine
file: file:
path: "/usr/local/lib/callas_pdfEngine_SDK_x64" path: "/usr/local/lib/callas_pdfEngine_SDK_x64"
state: directory state: directory
tags: [callaspdf]
# get latest version of callas PDFEngine at http://www.callassoftware.com/extranet/callas_pdfEngineSDK/callas_pdfEngineSDK_x64_Linux.tar.gz # get latest version of callas PDFEngine at http://www.callassoftware.com/extranet/callas_pdfEngineSDK/callas_pdfEngineSDK_x64_Linux.tar.gz
# downloading with unarchive will be deprecated, so we use a separate copy task # downloading with unarchive will be deprecated, so we use a separate copy task
...@@ -27,7 +24,6 @@ ...@@ -27,7 +24,6 @@
src: "pdf_treatment/callas_pdfEngineSDK_x64_Linux_{{ vault_callas_sdk_version }}.tar.gz" src: "pdf_treatment/callas_pdfEngineSDK_x64_Linux_{{ vault_callas_sdk_version }}.tar.gz"
# dest: "/home/{{ vault_users[0].name }}/" # dest: "/home/{{ vault_users[0].name }}/"
dest: "/usr/local/lib/" dest: "/usr/local/lib/"
tags: [callaspdf]
# caution, don't extract to /tmp (https://github.com/ansible/ansible/issues/28569) # caution, don't extract to /tmp (https://github.com/ansible/ansible/issues/28569)
- name: unpack callas PDFEngine - name: unpack callas PDFEngine
...@@ -37,13 +33,11 @@ ...@@ -37,13 +33,11 @@
dest: "/usr/local/lib/callas_pdfEngine_SDK_x64" dest: "/usr/local/lib/callas_pdfEngine_SDK_x64"
remote_src: true remote_src: true
follow: "yes" follow: "yes"
tags: [callaspdf]
- name: ... and remove source (as there's no actual move module in Ansible). - name: ... and remove source (as there's no actual move module in Ansible).
file: file:
path: "/usr/local/lib/callas_pdfEngineSDK_x64_Linux_{{ vault_callas_sdk_version }}.tar.gz" path: "/usr/local/lib/callas_pdfEngineSDK_x64_Linux_{{ vault_callas_sdk_version }}.tar.gz"
state: absent state: absent
tags: [callaspdf]
- name: set permissions - name: set permissions
file: file:
...@@ -51,7 +45,6 @@ ...@@ -51,7 +45,6 @@
group: "www-data" group: "www-data"
recurse: true recurse: true
state: directory state: directory
tags: [callaspdf]
# symlink callas PDFEngine from '/home/lza/callas_pdfEngine_SDK_x64/lib' to '/usr/lib/cgi-bin/lib' # symlink callas PDFEngine from '/home/lza/callas_pdfEngine_SDK_x64/lib' to '/usr/lib/cgi-bin/lib'
- name: symlink callas PDFEngine from '/usr/local/lib/callas_pdfEngine_SDK_x64/*' to '/usr/lib/cgi-bin/*' - name: symlink callas PDFEngine from '/usr/local/lib/callas_pdfEngine_SDK_x64/*' to '/usr/lib/cgi-bin/*'
...@@ -62,7 +55,6 @@ ...@@ -62,7 +55,6 @@
loop: loop:
- "lib" - "lib"
- "lang" - "lang"
tags: [callaspdf]
- name: Symlinks auf mitgelieferte libstdc++ löschen - name: Symlinks auf mitgelieferte libstdc++ löschen
file: file:
...@@ -71,13 +63,11 @@ ...@@ -71,13 +63,11 @@
loop: loop:
- "/usr/local/lib/callas_pdfEngine_SDK_x64/lib/libstdc++.so" - "/usr/local/lib/callas_pdfEngine_SDK_x64/lib/libstdc++.so"
- "/usr/local/lib/callas_pdfEngine_SDK_x64/lib/libstdc++.so.6" - "/usr/local/lib/callas_pdfEngine_SDK_x64/lib/libstdc++.so.6"
tags: [callaspdf]
- name: install packages - name: install packages
apt: apt:
name: "libstdc++-8-dev" name: "libstdc++-8-dev"
state: present state: present
tags: [callaspdf]
- name: Symlinks auf Systemlibraries erstellen - name: Symlinks auf Systemlibraries erstellen
file: file:
...@@ -90,7 +80,6 @@ ...@@ -90,7 +80,6 @@
- src: "/usr/lib/x86_64-linux-gnu/libstdc++.so.6" - src: "/usr/lib/x86_64-linux-gnu/libstdc++.so.6"
dest: "/usr/local/lib/callas_pdfEngine_SDK_x64/callas_pdfEngineSDK_x64_Linux_{{ vault_callas_sdk_version }}/lib/libstdc++.so.6" dest: "/usr/local/lib/callas_pdfEngine_SDK_x64/callas_pdfEngineSDK_x64_Linux_{{ vault_callas_sdk_version }}/lib/libstdc++.so.6"
notify: run ldconfig to configure dynamic linker run-time bindings notify: run ldconfig to configure dynamic linker run-time bindings
tags: [callaspdf]
# provide fonts for callas # provide fonts for callas
- name: create font-cache folder - name: create font-cache folder
...@@ -100,7 +89,6 @@ ...@@ -100,7 +89,6 @@
mode: "0775" mode: "0775"
owner: "www-data" owner: "www-data"
group: "www-data" group: "www-data"
tags: [callaspdf]
# install applefonts # install applefonts
- name: copy applefonts - name: copy applefonts
...@@ -110,4 +98,3 @@ ...@@ -110,4 +98,3 @@
follow: "yes" follow: "yes"
notify: notify:
- run fc-cache to rebuild font information cache files and add applefonts - run fc-cache to rebuild font information cache files and add applefonts
tags: [callaspdf]
...@@ -5,4 +5,3 @@ ...@@ -5,4 +5,3 @@
src: "pdf_treatment/convert_to_pdfa.bin" src: "pdf_treatment/convert_to_pdfa.bin"
dest: "/usr/lib/cgi-bin/convert_to" dest: "/usr/lib/cgi-bin/convert_to"
mode: "0755" mode: "0755"
tags: [converters]
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
- name: apt-get update - name: apt-get update
apt: apt:
update_cache: "yes" update_cache: "yes"
tags: [apt]
- name: Install/Update Debian packages - name: Install/Update Debian packages
apt: apt:
...@@ -42,7 +41,6 @@ ...@@ -42,7 +41,6 @@
'ttf-mscorefonts-installer', 'ttf-mscorefonts-installer',
'unzip' 'unzip'
] ]
tags: [apt]
- name: remove unnecessary packages - name: remove unnecessary packages
apt: apt:
...@@ -50,4 +48,3 @@ ...@@ -50,4 +48,3 @@
name: [ name: [
'libtiff-tools' 'libtiff-tools'
] ]
tags: [apt]
...@@ -6,4 +6,3 @@ ...@@ -6,4 +6,3 @@
src: "pdf_treatment/validate_pdfa.bin" src: "pdf_treatment/validate_pdfa.bin"
dest: "/usr/lib/cgi-bin/is_valid" dest: "/usr/lib/cgi-bin/is_valid"
mode: "0755" mode: "0755"
tags: [validators]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment