This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
### ref: https://stackoverflow.com/questions/48825583/in-ansible-how-do-you-change-a-existing-dictionary-hash-values-using-a-variable | |
- name: replace the value of dictionary variable | |
hosts: localhost | |
gather_facts: no | |
vars: | |
fact_process: | |
cmd_check: ok | |
cmd_name: node1 | |
cmd_status: error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vi private_secrets.txt | |
$ cat private_secrets.txt | |
#사이트 접속 비밀번호 | |
#update: 2020.08.08 | |
# | |
#gmail.com: 비밀번호 | |
#naver.com: n비밀번호 | |
#clien.com: c비밀번호 | |
#### make it encrypt |