浏览代码

playbook: disable unnecessary facts gathering

Fabian Peter Hammerle 5 年之前
父节点
当前提交
3cac09de70
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 4 0
      CHANGELOG.md
  2. 1 0
      ansible-playbook.yml

+ 4 - 0
CHANGELOG.md

@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 
 ## [Unreleased]
 ## [Unreleased]
+### Fixed
+- sample playbook:
+  - disable unnecessary facts gathering
+  - pin docker image by specifying digest (no longer trust registry)
 
 
 ## [1.0.0] - 2020-01-04
 ## [1.0.0] - 2020-01-04
 
 

+ 1 - 0
ansible-playbook.yml

@@ -1,5 +1,6 @@
 - hosts: [some-host]
 - hosts: [some-host]
   become: true
   become: true
+  gather_facts: no
   tasks:
   tasks:
   - docker_network:
   - docker_network:
       name: tor
       name: tor