bash
This commit is contained in:
parent
7e491f4b8c
commit
2c8998aeb4
80 changed files with 8999 additions and 109 deletions
|
@ -167,21 +167,6 @@
|
|||
# $1 %h $2 %p
|
||||
#? exec connect -4 -S {{HTTP_PROXYHOST}}:{{HTTP_PROXYPORT}} $(tor-resolve $1 {{HTTP_PROXYHOST}}:{{HTTP_PROXYPORT}}) $2
|
||||
|
||||
# this should not run as root
|
||||
# delegate_to: localhost? - no - per test
|
||||
- name: "usr_local_toxcore.bash"
|
||||
environment: "{{ shell_proxy_env }}"
|
||||
shell: |
|
||||
umask 0002
|
||||
sudo -u "{{ BOX_USER_NAME }}" \
|
||||
bash {{TOXCORE_USR_LOCAL}}/src/usr_local_toxcore.bash \
|
||||
{{ 'check' if ansible_check_mode }}
|
||||
exit 0
|
||||
args:
|
||||
chdir: "{{TOXCORE_USR_LOCAL}}/src"
|
||||
ignore_errors: true
|
||||
check_mode: false
|
||||
|
||||
- name: "include_tasks toxcore vms as root"
|
||||
include_tasks:
|
||||
file: "{{LOOP_ITEM}}.yml"
|
||||
|
@ -272,6 +257,21 @@
|
|||
- false
|
||||
with_items: "{{ toxcore_services_stopped }}"
|
||||
|
||||
# this should not run as root
|
||||
- name: "usr_local_toxcore.bash"
|
||||
become_user: "{{ LOOP_USER_F[0] }}"
|
||||
environment: "{{ shell_proxy_env }}"
|
||||
shell: |
|
||||
umask 0002
|
||||
sudo -u "{{ BOX_USER_NAME }}" \
|
||||
bash {{TOXCORE_USR_LOCAL}}/src/usr_local_toxcore.bash \
|
||||
{{ 'check' if ansible_check_mode }}
|
||||
exit 0
|
||||
args:
|
||||
chdir: "{{TOXCORE_USR_LOCAL}}/src"
|
||||
ignore_errors: true
|
||||
check_mode: false
|
||||
|
||||
- name: run ansible-gentoo_install
|
||||
include_role:
|
||||
name: ansible-gentoo_install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue