# HG changeset patch # User Luke Hoersten # Date 1605566589 21600 # Node ID 267d58c0e1867b9786d1f2e01ab5e01c22bd2590 # Parent 7d4a477be68568c38f26b3fe866fb3810472b5a7 Replaced with_items with loop. diff -r 7d4a477be685 -r 267d58c0e186 apt-cacher/server/tasks/main.yaml --- a/apt-cacher/server/tasks/main.yaml Mon Nov 16 16:42:59 2020 -0600 +++ b/apt-cacher/server/tasks/main.yaml Mon Nov 16 16:43:09 2020 -0600 @@ -11,7 +11,7 @@ regexp: "^{{item.key}}:" insertafter: "^# {{item.key}}:" line: "{{item.key}}: {{item.val}}" - with_items: + loop: - { key: "CacheDir", val: "{{apt_cacher_cache_dir}}" } - { key: "LogDir", val: "{{apt_cacher_log_dir}}" } - { key: "Port", val: "{{apt_cacher_port}}" } diff -r 7d4a477be685 -r 267d58c0e186 aws-s3-backup/tasks/main.yaml --- a/aws-s3-backup/tasks/main.yaml Mon Nov 16 16:42:59 2020 -0600 +++ b/aws-s3-backup/tasks/main.yaml Mon Nov 16 16:43:09 2020 -0600 @@ -15,7 +15,7 @@ - name: configure aws credentials for root become: yes template: src="aws-{{item}}.j2" dest="/root/.aws/{{item}}" mode="0600" - with_items: + loop: - "credentials" - "config" diff -r 7d4a477be685 -r 267d58c0e186 homebridge/tasks/main.yaml --- a/homebridge/tasks/main.yaml Mon Nov 16 16:42:59 2020 -0600 +++ b/homebridge/tasks/main.yaml Mon Nov 16 16:43:09 2020 -0600 @@ -32,7 +32,7 @@ - name: install platform accessories become: yes npm: name="{{item}}" global="yes" - with_items: "{{homebridge_npm_packages}}" + loop: "{{homebridge_npm_packages}}" notify: restart homebridge service - name: configure homebridge diff -r 7d4a477be685 -r 267d58c0e186 nodejs/tasks/main.yaml --- a/nodejs/tasks/main.yaml Mon Nov 16 16:42:59 2020 -0600 +++ b/nodejs/tasks/main.yaml Mon Nov 16 16:43:09 2020 -0600 @@ -18,6 +18,6 @@ name: "{{item}}" path: "/opt/{{nodejs_dir}}/bin/{{item}}" priority: "1" - with_items: + loop: - "node" - "npm"