ble tag

96 questions


1 answers
362 views
0
I don't understand the Python global variable, so could you give me an answer?

x = 0def A(): x = 10 # Local variable of A x def B(): global x # Use the global variable outside of the current function Allocate 20 to the regional variable x of x = 20 # A B() print(x) # Local var...

1 years ago

1 answers
130 views
0
I want to git clone from Ansible EC2

Provisioning EC2 in Ansible.I have my own rails code in the github repository, so I would like to hit the Ansible playbook from my local PC and get the rails code from EC2 by git clone (I also want to...

2 years ago

1 answers
136 views
0
I want to start the background process in Ansible.

We are building a local environment with Vagrant (CentOS 6).I would like to be able to run Django on uWsgi+Nginx using Ansible.For this reason, we would like to launch uWsgi in the background process....

2 years ago

2 answers
131 views
0
error installing answerable on cygwin

Cygwin encountered an error installing an answer.Infile included from/usr/include/python 2.7/pyport.h:332:0 , from /usr/include/python 2.7/Python.h:58, from src/MD2.c:31:/usr/include/sys/time.h:...

2 years ago

1 answers
111 views
0
Want to build multiple VMs with KVM+Vagrant+ansible

Vagrant creates multiple VMs on KVM and tries to manipulate them with an answer, but it doesn't work.Specific symptoms include The specified IP address is not assignedSSH connection times outWe are co...

2 years ago

1 answers
133 views
0
Are there any other tools that are appropriate for provisioning AWS EC2?

It's been more than two weeks since I started studying anable.I'm in trouble because I haven't done anything I want to dofor provisioning to AWS environmentsBecause of the mix of operations inside the...

2 years ago

1 answers
79 views
0
To Connect to a Host That Automatically Performs an Interactive Install When Connected by Ansible

From Ansible to a host that automatically performs an interactive installation upon connectionHow do I connect successfully?If you try to connect, you will see the interaction script output successful...

2 years ago

1 answers
67 views
0
Install Python from pyenv and use the pip module using Ansible

Call the Ansible script from Vagrant and I would like to build Python using pyenv and eventually implement a script to install Django.Using the script below, -name —Install the specified version of Py...

2 years ago

1 answers
60 views
0
What to do if I run playbook again after disabling root in Ansible?

How can I maintain 等 equality if I first add a deploy user to the root user and prohibit logging in as root in the following configuration?The first time a command like ansible-playbook-istaging site....

2 years ago

1 answers
161 views
0
An error occurs when installing nginx on an executable.

I'd like to install nginx on yaml of the answer, but I get an error.I will put the contents of the yaml where the error occurred, so I would appreciate it if you could tell me how to resolve it.main.y...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.