質問するログイン新規登録

質問編集履歴

2

コード修正

2020/02/25 12:45

投稿

potato242
potato242

スコア4

title CHANGED
File without changes
body CHANGED
@@ -27,7 +27,7 @@
27
27
  - name: local file debug
28
28
  debug:
29
29
  msg: "{{ item }}"
30
- with_items: "{{ lookup('file', '/home/testuser/test/test-rpms').splitlines() }}"
30
+ with_items: "{{ lookup('file', '/home/testuser/test/test.txt').splitlines() }}"
31
31
 
32
32
  - name: test.txt awk
33
33
 

1

コード編集

2020/02/25 12:45

投稿

potato242
potato242

スコア4

title CHANGED
File without changes
body CHANGED
@@ -29,6 +29,6 @@
29
29
  msg: "{{ item }}"
30
30
  with_items: "{{ lookup('file', '/home/testuser/test/test-rpms').splitlines() }}"
31
31
 
32
- - name: installed_rpms awk
32
+ - name: test.txt awk
33
33
 
34
34
  ```