Sha256: 58dfe30a97af16a34c21c39fb69e851474a9e05e72bc374e5142107a3b88eae4

Contents?: true

Size: 542 Bytes

Versions: 33

Compression:

Stored size: 542 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)
              if install_mode != :default
                raise Ansible::Errors::AnsiblePipInstallIsNotSupported
              else
                machine.communicate.sudo "yes | pkg install ansible"
              end
            end

          end
        end
      end
    end
  end
end

Version data entries

33 entries across 29 versions & 4 rubygems

Version Path
vagrant-unbundled-2.2.6.2 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.2.6.1 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.2.6.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.2.5.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.2.4.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.2.3.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.2.2.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.2.0.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.1.4.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.1.2.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.1.1.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.0.4.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-unbundled-2.0.3.0 plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb
vagrant-aws-detiber-0.7.2.pre.4 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb