mirror of
https://github.com/Dannecron/netology-devops.git
synced 2025-12-25 23:32:37 +03:00
homework 8.1: partially complete task 2
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
docker run --rm -d --name=centos7 centos:7 tail -f /dev/null \
|
||||
&& docker run --rm -d --name=debian debian:stable-slim tail -f /dev/null
|
||||
&& docker run --rm -d --name=debian python:slim tail -f /dev/null
|
||||
|
||||
1
src/homework/08-ansible/8.1/playbook/docker_stop.sh
Executable file
1
src/homework/08-ansible/8.1/playbook/docker_stop.sh
Executable file
@@ -0,0 +1 @@
|
||||
docker stop centos7 && docker stop debian
|
||||
@@ -1,2 +1,7 @@
|
||||
---
|
||||
some_fact: "deb default fact"
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
34633834383465336362303863613633333332656266663461306463646561346634656137336138
|
||||
3434346362386662383464346164393064376436343763390a313366343635333337326436333264
|
||||
36353035366537633466326665656238363164306165623639653135616639623665383530383966
|
||||
3638306666633765630a663238386465353662333932616136386239336164386463376436356631
|
||||
35353035623830376235656664383132393635393736393064666465326335383730316661333030
|
||||
6633396361666162643535626133336362373261336265633433
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
---
|
||||
some_fact: "el default fact"
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
37366165643262313236303132386566346562623036306330613732316432633866346365316537
|
||||
3863656165343731376434313964343965333733643533650a396336343863366434623030353163
|
||||
66343231393933623430313534626334663330663736616536363033616162313961643461623263
|
||||
6566373663636537350a303130333361386635303963363664653635653162396636646337353661
|
||||
34643537333538353135376136313835653062353937313565613331306361313938663030303233
|
||||
3366633835373932393763653261313335386166663562373238
|
||||
|
||||
@@ -7,3 +7,8 @@ deb:
|
||||
hosts:
|
||||
debian:
|
||||
ansible_connection: docker
|
||||
|
||||
local:
|
||||
hosts:
|
||||
localhost:
|
||||
ansible_connection: local
|
||||
|
||||
Reference in New Issue
Block a user