목록2023/08/26 (4)
삽더하기실수

1. 크롬에서 F12키를 눌러서 개발자 모드로 들어간다. 2. 해당 부분 클릭 간단하게 드래그가 되는 것을 확인할 수 있다.
nginx_install.yml --- - name: Install nginx on CentOS hosts: CentOS gather_facts: no become: yes # root 권한은 얻어 오는것 tasks: - name: install epel-release yum: name=epel-release state=latest - name: install nginx web server yum: name=nginx state=present - name: Upload default index.html for web server get_url: url=https://www.ginx.com dest=/usr/share/nginx/html mode=0644 - name: Start nginx web serv..

https://sapplusfloat.tistory.com/12 Vagrantfile(node1,2,server) 구성하기 Vagrantfile Vagrant_API_Version = "2" Vagrant.configure(Vagrant_API_Version) do |config| config.vm.define "ansible-node01" do |cfg| cfg.vm.box = "centos/7" cfg.vbguest.installer_hooks[:before_install] = ["yum install -y epel-release", "sleep 1"] cfg.vbgues sapplusfloat.tistory.com 해당 글 뒤로 이어집니다. bash_ssh_conf_4_CentOS.sh #! /us..
Vagrantfile Vagrant_API_Version = "2" Vagrant.configure(Vagrant_API_Version) do |config| config.vm.define "ansible-node01" do |cfg| cfg.vm.box = "centos/7" cfg.vbguest.installer_hooks[:before_install] = ["yum install -y epel-release", "sleep 1"] cfg.vbguest.installer_options = { allow_kernel_upgrade: false, enablerepo: true } cfg.vm.provider :virtualbox do |vb| vb.name = "Ansible-node01(Udemy-Bl..