mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Make ansible adhoc work with include_role (#56163)
* Make ansible adhoc work with include_role Fix logic condition so that include_role works without ``` ERROR! 'async_val' is not a valid attribute for a IncludeRole The error appears to be in 'None': line 0, column 0, but may be elsewhere in the file depending on the exact syntax problem. (could not open file to display line) ``` * Add include_role test for adhoc
This commit is contained in:
@@ -10,6 +10,10 @@ function gen_task_files() {
|
||||
done
|
||||
}
|
||||
|
||||
## Adhoc
|
||||
|
||||
ansible -m include_role -a name=role1 localhost
|
||||
|
||||
## Import (static)
|
||||
|
||||
# Playbook
|
||||
|
||||
Reference in New Issue
Block a user