commit | ea8845475455cd6a46c44b85d4d1c94fddcc6e61 | [log] [tgz] |
---|---|---|
author | Carlos Frias <carlos.frias.01@gmail.com> | Mon Oct 23 11:12:46 2017 -0400 |
committer | Carlos Frias <carlos.frias.01@gmail.com> | Mon Oct 23 11:12:46 2017 -0400 |
tree | bfdcf11b2b03791f88472d814955bac0cbe2b70e | |
parent | 06c511a3e3007cadf6b394fb8c706d3cfdd15d72 [diff] |
updated error handling for creating a mirror.
diff --git a/tasks/main.yml b/tasks/main.yml index ad36b55..469309e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -38,6 +38,7 @@ regexp: "^(Defaults)(.*)(requiretty)" line: '\1\2\!\3' state: present + validate: '/usr/sbin/visudo -cf %s' - name: Copy archive to target node synchronize: @@ -54,6 +55,7 @@ regexp: "^(Defaults)(.*)(requiretty)" line: '\1\2\!\3' state: present + validate: '/usr/sbin/visudo -cf %s' - name: Unarchive on target node