Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos.package
Commits
23738766
Commit
23738766
authored
Mar 25, 2019
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove trailing spaces
parent
2fa89eca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
playbook/roles/etckeeper/tasks/main.yml
playbook/roles/etckeeper/tasks/main.yml
+6
-6
No files found.
playbook/roles/etckeeper/tasks/main.yml
View file @
23738766
...
...
@@ -7,25 +7,25 @@
register
:
gitignore_file
-
name
:
Install git
apt
:
name=git state=latest update_cache=no
apt
:
name=git state=latest update_cache=no
when
:
ansible_os_family == "Debian"
-
name
:
Install git
yum
:
name=git state=latest update_cache=no
yum
:
name=git state=latest update_cache=no
when
:
ansible_os_family == "RedHat"
-
name
:
Install etckeeper
apt
:
name=etckeeper state=latest update_cache=no
apt
:
name=etckeeper state=latest update_cache=no
when
:
ansible_os_family == "Debian"
-
name
:
Install etckeeper
yum
:
name=etckeeper state=latest update_cache=no
yum
:
name=etckeeper state=latest update_cache=no
when
:
ansible_os_family == "RedHat"
-
file
:
path=/etc/.gitignore state=touch mode=0660
-
lineinfile
:
dest=/etc/.gitignore
-
lineinfile
:
dest=/etc/.gitignore
line={{ item }}
when
:
etckeeper_configuration.stat.exists == True
with_items
:
...
...
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