Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible LZA AMrepo Backup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Digital Preservation
Ansible LZA AMrepo Backup
Commits
145510f2
Commit
145510f2
authored
8 months ago
by
Jörg Sachse
Browse files
Options
Downloads
Patches
Plain Diff
feat: add site.yml playbook
parent
9d114e45
No related branches found
No related tags found
No related merge requests found
Pipeline
#6856
failed
8 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
site.yml
+27
-0
27 additions, 0 deletions
site.yml
with
27 additions
and
0 deletions
site.yml
0 → 100644
+
27
−
0
View file @
145510f2
---
-
hosts
:
"
*"
pre_tasks
:
-
name
:
Verify that the installed version of Ansible meets this playbook's version requirements.
assert
:
that
:
"
ansible_version.full
is
version_compare('2.10',
'>=')"
msg
:
>
"You must update Ansible to at least 2.10 to use this playbook."
# Collect facts from remote system? Possible values: true, false
gather_facts
:
true
# Gather only certain subsects of facts. Ansible supports network, hardware, virtual, facter, ohai as subset.
#gather_subset:
# - network
# - virtual
# - hardware
# any_error_fatal will mark all the hosts as failed if fails and immediately abort the playbook execution. Possible values: true, false
any_errors_fatal
:
false
# max_fail_percentage allows you to abort the play if certain threshold of failures have been reached.
max_fail_percentage
:
30
serial
:
30
# hide sensitive information in verbose/debugging output from others. Possible values: true, false
no_log
:
false
# execution strategy, possible values: debug, linear, serial, free (https://docs.ansible.com/ansible/latest/user_guide/playbooks_strategies.html)
strategy
:
linear
roles
:
-
{
role
:
"
ansible_lza_amrepo_backup"
,
become
:
true
}
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