Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
common
Commits
bc03a4dc
Commit
bc03a4dc
authored
5 years ago
by
Thomas Schneider
Browse files
Options
Downloads
Patches
Plain Diff
Don’t track Proxmox cluster config w/ etckeeper
parent
a493e1f9
No related branches found
No related tags found
1 merge request
!4
Don’t track Proxmox cluster config w/ etckeeper
Checking pipeline status
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
basic-system/handlers/main.yml
+7
-0
7 additions, 0 deletions
basic-system/handlers/main.yml
basic-system/tasks/main.yml
+18
-0
18 additions, 0 deletions
basic-system/tasks/main.yml
with
25 additions
and
0 deletions
basic-system/handlers/main.yml
+
7
−
0
View file @
bc03a4dc
...
@@ -18,3 +18,10 @@
...
@@ -18,3 +18,10 @@
-
name
:
gather minimal standard facts once again
-
name
:
gather minimal standard facts once again
setup
:
gather_subset=min
setup
:
gather_subset=min
-
name
:
Remove pve directory from etckeeper repo
# 303 wants us to use the ansible git module, but it doesn’t
# provide that feature
shell
:
# noqa 303
chdir
:
/etc
cmd
:
git rm --cached -r -- pve && git commit -m "'Remove pve directory'"
This diff is collapsed.
Click to expand it.
basic-system/tasks/main.yml
+
18
−
0
View file @
bc03a4dc
...
@@ -20,6 +20,24 @@
...
@@ -20,6 +20,24 @@
-
lsb
-
lsb
-
meta
:
flush_handlers
-
meta
:
flush_handlers
-
name
:
Check for Proxmox
stat
:
path
:
/etc/pve
register
:
pve_present
tags
:
-
etckeeper
-
name
:
Ignore Proxmox config in etckeeper
lineinfile
:
path
:
/etc/.gitignore
line
:
/pve
create
:
true
when
:
etckeeper and pve_present
notify
:
-
Remove pve directory from etckeeper repo
tags
:
-
etckeeper
-
name
:
Install etckeeper
-
name
:
Install etckeeper
apt
:
apt
:
name
:
etckeeper
name
:
etckeeper
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment