Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Terraform Openstack
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Bo-Chun Chen
Terraform Openstack
Commits
4189436b
Commit
4189436b
authored
5 years ago
by
Ryan Randles Jones
Browse files
Options
Downloads
Patches
Plain Diff
Add new file
parent
2e837820
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
playbook.yml
+86
-0
86 additions, 0 deletions
playbook.yml
with
86 additions
and
0 deletions
playbook.yml
0 → 100644
+
86
−
0
View file @
4189436b
---
# File: playbook.yml
# Type: playbook
# @cli vagrant destroy; vagrant up; rm -rf fetched/*
# @cli ansible-playbook -i vagrant_inventory playbook.yml
-
name
:
Set global facts
hosts
:
all
tags
:
always
tasks
:
-
debug
:
msg="System hostname is {{ ansible_hostname }}"
-
set_fact
:
docker={{ ansible_virtualization_type is defined and ansible_virtualization_type == 'docker' and ansible_virtualization_role == 'guest' }}
-
set_fact
:
ansible_fetched_base=fetched/{{ group_names[0] | default('') }}/{{ inventory_hostname }}
-
name
:
Execute playbook
hosts
:
all
become
:
yes
roles
:
-
role
:
ansible/setup
tags
:
ansible_setup
-
role
:
ansible/facts
tags
:
ansible_facts
-
role
:
system/docker
tags
:
system_docker
-
role
:
system/boot
tags
:
system_boot
-
role
:
system/sudo
tags
:
system_sudo
-
role
:
system/ssh
tags
:
system_ssh
-
role
:
system/apt
tags
:
system_apt
-
role
:
system/ufw
tags
:
system_ufw
-
role
:
system/ntp
tags
:
system_ntp
-
role
:
system/td-agent
tags
:
system_td-agent
-
role
:
system/fail2ban
tags
:
system_fail2ban
-
role
:
system/mediainfo
tags
:
system_mediainfo
-
role
:
system/clamav
tags
:
system_clamav
-
role
:
system/kaspersky
tags
:
system_kaspersky
-
role
:
system/apcups
tags
:
system_apcups
-
role
:
system/journald
tags
:
system_journald
-
role
:
system/metricbeat
tags
:
system_metricbeat
-
role
:
system/packetbeat
tags
:
system_packetbeat
-
role
:
system/graphics
tags
:
system_graphics
-
role
:
database/beanstalkd
tags
:
database_beanstalkd
-
role
:
database/mysql
tags
:
database_mysql
-
role
:
database/mongodb
tags
:
database_mongodb
-
role
:
database/redis
tags
:
database_redis
-
role
:
web/apache2
tags
:
web_apache2
-
role
:
web/nginx
tags
:
web_nginx
-
role
:
web/nodejs
tags
:
web_nodejs
-
role
:
web/php5
tags
:
web_php5
-
role
:
web/varnish
tags
:
web_varnish
-
role
:
networking/transmission
tags
:
networking_transmission
-
role
:
networking/openvpn
tags
:
networking_openvpn
-
role
:
networking/avahi
tags
:
networking_avahi
-
role
:
networking/btsync
tags
:
networking_btsync
-
role
:
networking/cntlm
tags
:
networking_cntlm
-
role
:
networking/resolvconf
tags
:
networking_resolvconf
\ No newline at end of file
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