Class: Shelter::CLI::Command::Ansible

Inherits:
Thor
  • Object
show all
Defined in:
lib/cli/command/ansible.rb

Overview

Ansible subcommand for Shelter

Instance Method Summary collapse

Instance Method Details

#updateObject

Calls Ansible with the ‘configuration.yaml` playbook



25
26
27
28
29
30
31
32
33
# File 'lib/cli/command/ansible.rb', line 25

def update
  ansible_execute(
    'configuration',
    tags: options[:only],
    skip: options[:skip],
    limit: options[:limit],
    inventory: options[:inventory]
  )
end