Skip to content
Snippets Groups Projects
Commit 6f382f51 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting

parent b7f371bc
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
- name: Copy user home directory into jails - name: Copy user home directory into jails
shell: jk_cp -j {{ jailroot }}/{{ item.0.jail.name }} -o -s -f /home/{{ username }}/{{ item.1 }} shell: jk_cp -j {{ jailroot }}/{{ item.0.jail.name }} -o -s -f /home/{{ username }}/{{ item.1 }}
with_nested: with_nested:
- {{ drupal_settings|default([]) }} - '{{( drupal_settings|default([]) }})'
- ['.bashrc', - ['.bashrc',
'.config', '.config',
'.git-prompt.sh', '.git-prompt.sh',
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
recurse: yes recurse: yes
follow: no follow: no
with_flattened: with_flattened:
- {{ admins }} - '{{( admins }})'
- {{ jailusers }} - '{{( jailusers }})'
- name: Check JailKit Requirement - name: Check JailKit Requirement
shell: ls /usr/sbin/jk_init shell: ls /usr/sbin/jk_init
...@@ -159,8 +159,8 @@ ...@@ -159,8 +159,8 @@
group: root group: root
mode: 0755 mode: 0755
with_flattened: with_flattened:
- {{ admins }} - '{{( admins }})'
- {{ jailusers }} - '{{( jailusers }})'
loop_control: loop_control:
loop_var: username loop_var: username
when: username != tunnel_user_name when: username != tunnel_user_name
...@@ -172,8 +172,8 @@ ...@@ -172,8 +172,8 @@
- name: Init Users - name: Init Users
include_tasks: initjailusers.yml include_tasks: initjailusers.yml
with_flattened: with_flattened:
- {{ admins }} - '{{( admins }})'
- {{ jailusers }} - '{{( jailusers }})'
loop_control: loop_control:
loop_var: username loop_var: username
when: username != tunnel_user_name and jailuser_init when: username != tunnel_user_name and jailuser_init
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
recurse: yes recurse: yes
follow: no follow: no
with_flattened: with_flattened:
- {{ admins }} - '{{( admins }})'
- {{ jailusers }} - '{{( jailusers }})'
- name: Set shell for crontabs - name: Set shell for crontabs
cron: cron:
......
#!/usr/bin/env python #!/usr/bin/env python3
import os import os
import argparse import argparse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment