Sha256: bcc93d682e0d647ed62ac1d49943029c27b43c5f2a991cd27917d1496ea20f5a
Contents?: true
Size: 440 Bytes
Versions: 2
Compression:
Stored size: 440 Bytes
Contents
require "milc/dsl" module Milc::Dsl module Ansible def ansible_playbook(cmd, &block) # https://github.com/mitchellh/vagrant/blob/0098b7604d071948fd37b16dd10b87b6df49b624/plugins/provisioners/ansible/provisioner.rb#L58 command = "ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook #{cmd}" command << " -vvvv" if Milc.verbose execute(command, returns: :none, logging: :both, &block) nil end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
milc-0.2.0 | lib/milc/dsl/ansible.rb |
milc-0.1.4 | lib/milc/dsl/ansible.rb |