mirror of
https://github.com/roles-ansible/ansible_role_etebase.git
synced 2024-08-16 10:19:52 +02:00
update variable scheme
This commit is contained in:
parent
28a2bd3e8f
commit
7291902cbf
2 changed files with 11 additions and 11 deletions
|
@ -2,17 +2,17 @@
|
|||
- name: "Create EteBase Group"
|
||||
become: true
|
||||
ansible.builtin.group:
|
||||
name: "{{ etebase_group }}"
|
||||
name: "{{ etebase__group }}"
|
||||
system: true
|
||||
state: "present"
|
||||
|
||||
- name: "Create Etebase User"
|
||||
become: true
|
||||
ansible.builtin.user:
|
||||
name: "{{ etebase_user }}"
|
||||
name: "{{ etebase__user }}"
|
||||
comment: "Etebase User"
|
||||
group: "{{ etebase_group }}"
|
||||
groups: "{{ etebase_groups | default(omit) }}"
|
||||
home: "{{ etebase_user_home }}"
|
||||
shell: "{{ etebase_shell }}"
|
||||
group: "{{ etebase__group }}"
|
||||
groups: "{{ etebase__groups | default(omit) }}"
|
||||
home: "{{ etebase__user_home }}"
|
||||
shell: "{{ etebase__shell }}"
|
||||
system: true
|
||||
|
|
|
@ -10,15 +10,15 @@
|
|||
ansible.builtin.pip:
|
||||
name: bottle
|
||||
# requirements: /my_app/requirements.txt
|
||||
virtualenv: "{{ etebase_venv }}"
|
||||
state: "{{ etebase_package_state }}"
|
||||
virtualenv: "{{ etebase__venv }}"
|
||||
state: "{{ etebase__package_state }}"
|
||||
umask: "0027"
|
||||
|
||||
- name: Fix venv File owner/group
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
path: "{{ etebase_venv }}"
|
||||
path: "{{ etebase__venv }}"
|
||||
state: directory
|
||||
mode: 'u=rwX,g=rX,o='
|
||||
group: "{{ etebase_group }}"
|
||||
owner: "{{ etebase_user }}"
|
||||
group: "{{ etebase__group }}"
|
||||
owner: "{{ etebase__user }}"
|
||||
|
|
Loading…
Reference in a new issue