Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
debops
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debops
debops
Commits
c64535f2
Verified
Commit
c64535f2
authored
Jan 08, 2019
by
Maciej Delmanowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ansible-lint error E601 in DebOps roles
parent
b8f99cc9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
ansible/roles/debops-contrib.homeassistant/tasks/main.yml
ansible/roles/debops-contrib.homeassistant/tasks/main.yml
+2
-2
ansible/roles/debops.etherpad/tasks/main.yml
ansible/roles/debops.etherpad/tasks/main.yml
+3
-3
ansible/roles/debops.gitusers/tasks/sshkeys.yml
ansible/roles/debops.gitusers/tasks/sshkeys.yml
+1
-1
ansible/roles/debops.owncloud/tasks/setup_owncloud.yml
ansible/roles/debops.owncloud/tasks/setup_owncloud.yml
+1
-1
ansible/roles/debops.sftpusers/tasks/forward.yml
ansible/roles/debops.sftpusers/tasks/forward.yml
+1
-1
No files found.
ansible/roles/debops-contrib.homeassistant/tasks/main.yml
View file @
c64535f2
...
...
@@ -50,7 +50,7 @@
extra_args
:
'
--user
--upgrade'
become
:
True
become_user
:
'
{{
homeassistant__user
}}'
when
:
homeassistant__virtualenv == False
and homeassistant__register_git is changed
when
:
not homeassistant__virtualenv|bool
and homeassistant__register_git is changed
notify
:
[
'
Restart
Home
Assistant'
]
-
name
:
Install hass in virtualenv
...
...
@@ -62,7 +62,7 @@
virtualenv_python
:
'
python3'
become
:
True
become_user
:
'
{{
homeassistant__user
}}'
when
:
homeassistant__virtualenv
== True
and homeassistant__register_git is changed
when
:
homeassistant__virtualenv
|bool
and homeassistant__register_git is changed
notify
:
[
'
Restart
Home
Assistant'
]
-
name
:
Ensure Home Assistant config dir exists
...
...
ansible/roles/debops.etherpad/tasks/main.yml
View file @
c64535f2
...
...
@@ -70,7 +70,7 @@
group
:
'
{{
etherpad_group
}}'
mode
:
'
0755'
when
:
(etherpad_register_source is defined and etherpad_register_source is changed) or
(etherpad_register_directory is defined and
etherpad_register_directory.stat.exists == False
)
(etherpad_register_directory is defined and
not etherpad_register_directory.stat.exists|bool
)
tags
:
[
'
role::etherpad:source'
]
-
name
:
Prepare Etherpad worktree
...
...
@@ -81,7 +81,7 @@
group
:
'
{{
etherpad_group
}}'
mode
:
'
0644'
when
:
(etherpad_register_source is defined and etherpad_register_source is changed) or
(etherpad_register_directory is defined and
etherpad_register_directory.stat.exists == False
)
(etherpad_register_directory is defined and
not etherpad_register_directory.stat.exists|bool
)
tags
:
[
'
role::etherpad:source'
]
-
name
:
Checkout Etherpad
...
...
@@ -95,7 +95,7 @@
register
:
etherpad_register_checkout
notify
:
[
'
Restart
etherpad-lite'
]
when
:
(etherpad_register_source is defined and etherpad_register_source is changed) or
(etherpad_register_directory is defined and
etherpad_register_directory.stat.exists == False
)
(etherpad_register_directory is defined and
not etherpad_register_directory.stat.exists|bool
)
tags
:
[
'
role::etherpad:source'
]
## Not used anywhere but it should stay for now: See https://github.com/debops/ansible-etherpad/pull/13
...
...
ansible/roles/debops.gitusers/tasks/sshkeys.yml
View file @
c64535f2
...
...
@@ -23,4 +23,4 @@
-
'
{{
gitusers_host_list
}}'
when
:
((item.name is defined and item.name) and
(item.state is undefined or (item.state is defined and item.state != 'absent')) and
(item.sshkeys is defined and
item.sshkeys == False
))
(item.sshkeys is defined and
not item.sshkeys|bool
))
ansible/roles/debops.owncloud/tasks/setup_owncloud.yml
View file @
c64535f2
...
...
@@ -99,7 +99,7 @@
'--database-host={{ owncloud__database_map[owncloud__database].dbhost }}'
'--database-user={{ owncloud__database_map[owncloud__database].dbuser }}'
'--database-pass={{ owncloud__database_map[owncloud__database].dbpass }}'
{% if owncloud__admin_username
!= False
%}
{% if owncloud__admin_username %}
'--admin-user={{ owncloud__admin_username }}'
'--admin-pass={{ owncloud__admin_password }}'
{% endif %}
...
...
ansible/roles/debops.sftpusers/tasks/forward.yml
View file @
c64535f2
...
...
@@ -25,4 +25,4 @@
-
'
{{
sftpusers_host_list
}}'
when
:
((item.name is defined and item.name) and
(item.state is undefined or (item.state is defined and item.state != 'absent')) and
(item.forward is defined and
item.forward == False
))
(item.forward is defined and
not item.forward|bool
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment