回答編集履歴

2

retries の値を修正

2023/05/13 11:44

投稿

yabusakadeny
yabusakadeny

スコア186

test CHANGED
@@ -8,7 +8,7 @@
8
8
  name: hoge
9
9
  state: started
10
10
  register: result
11
- retries: 33
11
+ retries: 3
12
12
  delay: 10
13
13
  until: result is succeeded
14
14
  ```

1

typo修正

2023/05/13 11:36

投稿

yabusakadeny
yabusakadeny

スコア186

test CHANGED
@@ -6,7 +6,7 @@
6
6
  - name: Start hoge when not running
7
7
  ansible.builtin.service:
8
8
  name: hoge
9
- state: stoppe
9
+ state: started
10
10
  register: result
11
11
  retries: 33
12
12
  delay: 10