homework 8.1: partially complete task 2

This commit is contained in:
2022-07-13 19:34:21 +07:00
parent 15e64885aa
commit a77475a313
6 changed files with 120 additions and 10 deletions

View File

@@ -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

View File

@@ -0,0 +1 @@
docker stop centos7 && docker stop debian

View File

@@ -1,2 +1,7 @@
---
some_fact: "deb default fact"
$ANSIBLE_VAULT;1.1;AES256
34633834383465336362303863613633333332656266663461306463646561346634656137336138
3434346362386662383464346164393064376436343763390a313366343635333337326436333264
36353035366537633466326665656238363164306165623639653135616639623665383530383966
3638306666633765630a663238386465353662333932616136386239336164386463376436356631
35353035623830376235656664383132393635393736393064666465326335383730316661333030
6633396361666162643535626133336362373261336265633433

View File

@@ -1,2 +1,7 @@
---
some_fact: "el default fact"
$ANSIBLE_VAULT;1.1;AES256
37366165643262313236303132386566346562623036306330613732316432633866346365316537
3863656165343731376434313964343965333733643533650a396336343863366434623030353163
66343231393933623430313534626334663330663736616536363033616162313961643461623263
6566373663636537350a303130333361386635303963363664653635653162396636646337353661
34643537333538353135376136313835653062353937313565613331306361313938663030303233
3366633835373932393763653261313335386166663562373238

View File

@@ -7,3 +7,8 @@ deb:
hosts:
debian:
ansible_connection: docker
local:
hosts:
localhost:
ansible_connection: local