We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
settings.is_public
settings.admin
Right now we can use permissions like this:
- name: Public app ynh_app: name: dokuwiki permissions: - visitors - all_users
- name: Private app ynh_app: name: dokuwiki # default value is append: no # append: no permissions: - admin_username
But we should be able to also do:
In my playbook: - name: Install apps (LOOP) ynh_app: name: "{{ item.name }}" label: "{{ item.label }}" domain: "{{ item.domain }}" settings: path: "{{ item.path }}" is_public: "{{ item.is_public }}" admin: "{{ item.admin }}" loop: "{{ ynh_app_test }}" In my var file: --- ynh_app_test: - name: 20euros label: Money domain: poclydra.fr path: /20euros is_public: 0 admin: - name: alltube label: yt_dl domain: poclydra.fr path: /yt_dl is_public: 1 admin:
In my playbook:
- name: Install apps (LOOP) ynh_app: name: "{{ item.name }}" label: "{{ item.label }}" domain: "{{ item.domain }}" settings: path: "{{ item.path }}" is_public: "{{ item.is_public }}" admin: "{{ item.admin }}" loop: "{{ ynh_app_test }}"
In my var file:
--- ynh_app_test: - name: 20euros label: Money domain: poclydra.fr path: /20euros is_public: 0 admin: - name: alltube label: yt_dl domain: poclydra.fr path: /yt_dl is_public: 1 admin:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now we can use permissions like this:
But we should be able to also do:
The text was updated successfully, but these errors were encountered: