Skip to content
Snippets Groups Projects
Commit 416cb4da authored by Chris Croome's avatar Chris Croome
Browse files

shell set for user discourse when doing things

parent 4a9ffe4b
No related branches found
No related tags found
1 merge request!1Postfix
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
dest: /var/discourse dest: /var/discourse
become: yes become: yes
become_user: discourse become_user: discourse
become_flags: '-s /bin/bash'
- name: Count how much swap is available - name: Count how much swap is available
shell: "free -g --si | awk '/^Swap:/{print $2}'" shell: "free -g --si | awk '/^Swap:/{print $2}'"
...@@ -100,8 +101,10 @@ ...@@ -100,8 +101,10 @@
dest: /var/discourse/containers/app.yml dest: /var/discourse/containers/app.yml
become: yes become: yes
become_user: discourse become_user: discourse
become_flags: '-s /bin/bash'
- name: Rebuild Discourse app - name: Rebuild Discourse app
command: /var/discourse/launcher rebuild app command: /var/discourse/launcher rebuild app
become: yes become: yes
become_user: discourse become_user: discourse
become_flags: '-s /bin/bash'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment