how to use Chef to manage the Ansible playbook
— – name: Install Apache hosts: webservers become: yes tasks: – name: Install Apache package apt: name: apache2 state: present
Read more— – name: Install Apache hosts: webservers become: yes tasks: – name: Install Apache package apt: name: apache2 state: present
Read moreChef and Ansible are both popular configuration management tools used to automate infrastructure deployment and configuration. However, there are several
Read moresudo rpm -Uvh https://packages.chef.io/files/stable/chef-workstation/21.7.553/el/7/chef-workstation-21.7.553-1.el7.x86_64.rpm mkdir ~/chef-repo cd ~/chef-repo echo ‘current_dir = File.dirname(__FILE__) log_level :info log_location STDOUT node_name “your_user_name” client_key “#{current_dir}/your_user_name.pem”
Read more