This commit is contained in:
2020-04-17 10:55:51 -06:00
parent fb21a9e8e0
commit 429dd8e5a7
2 changed files with 8 additions and 2 deletions

View File

@@ -28,6 +28,8 @@
# Git clone https://github.com/pantsel/konga.git # Git clone https://github.com/pantsel/konga.git
- name: Git clone https://github.com/pantsel/konga.git tag 0.14.7 - name: Git clone https://github.com/pantsel/konga.git tag 0.14.7
# NOTICE: running as toor
become_user: toor
git: git:
clone: yes clone: yes
force: yes force: yes
@@ -53,11 +55,15 @@
# Install konga npm packages # Install konga npm packages
- name: Installing konga NPM packages - name: Installing konga NPM packages
# NOTICE: running as toor
become_user: toor
npm: npm:
path: /var/www/konga path: /var/www/konga
# Install konga bower dependencies # Install konga bower dependencies
- name: Installing konga bower dependencies - name: Installing konga bower dependencies
# NOTICE: running as toor
become_user: toor
shell: npm run bower-deps shell: npm run bower-deps
args: args:
chdir: /var/www/konga chdir: /var/www/konga
@@ -79,4 +85,4 @@
owner: root owner: root
group: root group: root
mode: '0644' # -rw-r--r-- mode: '0644' # -rw-r--r--
#NOnotify: reload konga # NO because you need to copy your own .env first notify: reload konga

View File

@@ -1,5 +1,5 @@
--- ---
- name: Adding Debian 9 OpenNebula GPG key - name: Adding Debian OpenNebula GPG key
apt_key: url='https://downloads.opennebula.org/repo/repo.key' state=present apt_key: url='https://downloads.opennebula.org/repo/repo.key' state=present
when: ansible_os_family == "Debian" when: ansible_os_family == "Debian"