Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-nginx-curl
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
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
antoine.blancy
ansible-nginx-curl
Commits
81e1a3f4
Commit
81e1a3f4
authored
3 years ago
by
antoine.blancy
Browse files
Options
Downloads
Patches
Plain Diff
a
parent
3c356cfc
No related branches found
No related tags found
1 merge request
!1
TP3
Pipeline
#18293
failed
3 years ago
Stage: deployment
Stage: curltest
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
script.sh
+2
-1
2 additions, 1 deletion
script.sh
wg.yml
+44
-0
44 additions, 0 deletions
wg.yml
with
46 additions
and
1 deletion
script.sh
+
2
−
1
View file @
81e1a3f4
#!/bin/bash
#!/bin/bash
ANSIBLE_HOST_KEY_CHECKING
=
False ansible-playbook
-i
deez_nodes h1.yml h2.yml r1.yml wg.yml
#ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i deez_nodes h1.yml h2.yml r1.yml wg.yml
\ No newline at end of file
ANSIBLE_HOST_KEY_CHECKING
=
False ansible-playbook
-i
deez_nodes r1.yml wg.yml
\ No newline at end of file
This diff is collapsed.
Click to expand it.
wg.yml
+
44
−
0
View file @
81e1a3f4
-
name
:
curl
hosts
:
h1
roles
:
-
hosts
-
post
-
keys
become
:
yes
vars
:
addr
:
10.0.1.2
router_addr
:
10.0.1.1
other_subnet
:
10.0.3.0
tasks
:
-
name
:
install curl
apt
:
name
:
curl
-
name
:
nginx
hosts
:
h2
become
:
yes
vars
:
my_cool_greeting
:
HEHEHELOOLOLOLO
addr
:
10.0.3.2
router_addr
:
10.0.3.1
other_subnet
:
10.0.1.0
tasks
:
-
name
:
install nginx
apt
:
name
:
nginx
-
name
:
copy index.html
template
:
src
:
index.html
dest
:
/var/www/html/index.html
notify
:
nginx-restarter
roles
:
-
hosts
-
post
-
keys
handlers
:
-
name
:
nginx-restarter
service
:
name
:
nginx
state
:
restarted
-
name
:
h1_key_set
-
name
:
h1_key_set
hosts
:
h2
hosts
:
h2
roles
:
roles
:
...
...
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