mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 19:01:26 -07:00
Move runner out of __init__.py so it's clear what classes live where.
This commit is contained in:
parent
6eda2cf383
commit
d079c8e5f3
4 changed files with 202 additions and 202 deletions
|
@ -19,7 +19,7 @@
|
|||
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
import ansible
|
||||
import ansible.runner
|
||||
import ansible.constants as C
|
||||
import json
|
||||
import yaml
|
||||
|
@ -45,7 +45,7 @@ class PlayBook(object):
|
|||
|
||||
# runner is reused between calls
|
||||
|
||||
self.runner = ansible.Runner(
|
||||
self.runner = ansible.runner.Runner(
|
||||
host_list=host_list,
|
||||
module_path=module_path,
|
||||
forks=forks,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue