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