Sha256: 75492ab9a78b25ca677fdd229d5e2a4f4197f55e6f34a4656aa2538d2f673f02

Contents?: true

Size: 567 Bytes

Versions: 6

Compression:

Stored size: 567 Bytes

Contents

require_relative "../../../errors"

module VagrantPlugins
  module Ansible
    module Cap
      module Guest
        module FreeBSD
          module AnsibleInstall

            def self.ansible_install(machine, install_mode, ansible_version, pip_args, pip_install_cmd = "")
              if install_mode != :default
                raise Ansible::Errors::AnsiblePipInstallIsNotSupported
              else
                machine.communicate.sudo "pkg install -qy py36-ansible"
              end
            end

          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
vagrant-unbundled-2.2.14.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-aws-mkubenka-0.7.2.pre.24 vendor/bundle/ruby/2.7.0/bundler/gems/vagrant-22795b161bf6/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.2.10.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.2.9.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.2.8.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.2.7.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb