Skip to main content

Questions tagged [centos]

Use this tag if a question is related to centos, the community version of RedHat

Filter by
Sorted by
Tagged with
-1 votes
1 answer
7 views

Nexus service running in vagrant VM (centos) but nexus home page not displaying in browser

I have installed centos 7 via vagrant file. I have installed nexus on the centos VM. The service is running in centos, but nexus welcome page is not opening in browser. Kindly help. My vagrant file is ...
Reshma R's user avatar
0 votes
2 answers
45 views

how to stop "docker run -it certbot/certbot"?

I'm newbie in docker. I use below command to run the certbot image twice: docker run --rm certbot/certbot I'd like to stop it but I can't. This command has started to produce many containers and ...
Arani's user avatar
  • 101
0 votes
1 answer
587 views

Unable to create a project with MANUAL as source in AWX

I have followed the instructions to install AWX from this site. https://computingforgeeks.com/install-and-configure-ansible-awx-on-centos/ But I'm unable to create manual SCM project on new project on ...
Siva's user avatar
  • 223
0 votes
0 answers
26 views

Unable to understand Docker error

I am new to Docker and trying to run a webserver written in Python. I am using Linux Debian running as virtual machine on a Windows host. I have mounted the required folder from my Windows host to the ...
MAJID AHMAD's user avatar
0 votes
0 answers
34 views

Implementing the right conditions for a yum command for centos5 in Ansible

I'm currently working with a centos5 host and I have to install some packages with yum. Unfortunately, as far as I know, centos5 doesn't support Ansible's yum module, since it requires python2 ...
Wander's user avatar
  • 9
1 vote
1 answer
710 views

Failed to install kubernetes on centos

Following the official documentation, I have an error when trying to install kubernetes cluster yum package. I am on Centos 7 using yum. So I run this commands: cat <<EOF | sudo tee /etc/yum....
french_dev's user avatar
0 votes
2 answers
2k views

network ansible command error: "msg": "network os centos is not supported"

How do I get the ansible config for rolly below? remote: [nsaunders@rolly ~]$ [nsaunders@rolly ~]$ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: CentOS Description: ...
Nicholas Saunders's user avatar
0 votes
1 answer
184 views

Is it possible to install bitbucket container on Centos?

I'm trying to run the below composefile on centos7: version: "3.3" services: bitbucket: image: atlassian/bitbucket:latest ports: - 7990:7990 - 7999:7999 networks: ...
arielma's user avatar
  • 339
2 votes
1 answer
166 views

vagrant on windows 10 incorrect network configuration on multi-machine setup

I have a problem with vagrant that is running on windows 10 when I deploy centos 8 machines all the machines have eth0 with the same Ip and they cannot communicate with each other the ip 10.0.2.15 ...
danidar's user avatar
  • 23
3 votes
1 answer
161 views

Porting a docker container to a different Linux host OS

I'm new to Docker. I have looked at many tutorials, however, this is still not clear to me : For example, If I create a docker image on a system which is using Ubuntu as the host OS. Can I then later ...
Engineer999's user avatar
1 vote
1 answer
5k views

What is the difference between a jail environment in linux and docker container?

I am curious about difference between a jail environment in linux and Docker. What separates these two technologies?
Vishwanath's user avatar
2 votes
1 answer
10k views

how to prevent Ansible from showing output on screen?

I have this in my playbook which execute a command on remote server and enters its log on local server. - name: run script shell: runuser -l testuser -c "/tmp/test.sh" register: myshell_output ...
BlackCrystal's user avatar
2 votes
2 answers
155 views

How to use edited inventory file?

I have workflow with 2 templates. First I add new host to my hosts.ini file: - name: Add to host file blockinfile: path: /var/lib/awx/projects/_52__glusterfs/hosts.ini block: | ...
Danylo Mysko's user avatar
0 votes
2 answers
1k views

How deploy public key to newly created VM on GCP?

I create VM instance using ansible module gcp_compute_instance My code: --- - name: Create jenkins node-1 hosts: localhost connection: local gather_facts: no vars: address: <my ip> ...
Danylo Mysko's user avatar
2 votes
1 answer
105 views

How to manage services inside the container?

Systemctl/service commands are not working on a container which is built by using centos:centos7 image. Can anybody help me here?
deepu dileepkumar's user avatar
3 votes
2 answers
9k views

using copy module with wildcards

I need to copy a database backup file from a primary server to a standby server. Since I can't use synchronize, I was following this method: copy a file from primary to the local ansible server, copy ...
BlackCrystal's user avatar
2 votes
2 answers
206 views

reboot server during Ansible tasks

I have 3 scripts that must be run on server one by one. for example: - name: find config shell: /data/scripts/config1 become: yes become_user: root tags: find_config - name: change config ...
BlackCrystal's user avatar
0 votes
2 answers
2k views

copy contents of file on ansible server to another file on remote servers

I have a bash script on about 70 severs in /opt/zservice/etc/config that i want to change its content with ansible. the new content is on ansible server in this path /data/new_config. how i can use ...
BlackCrystal's user avatar
2 votes
1 answer
2k views

"Error: forwarding ports: Upgrade request required" Error in helm of a kubernetes cluster

I have a kubernetes cluster built using kubespray and imported to Rancher. The nodes are configured with CentOS Linux 7 3.10.0-957.12.1.el7.x86_64 Docker version : 18.9.5 Kubelet version : v1.14.1 ...
AnjK's user avatar
  • 121
0 votes
1 answer
714 views

how to run an Ansible command for specific number of hosts

I am new to Ansible and i have a question about limitting hosts in a host group at running commands.I have these host groups in my inventory: [primary] host1 host2 [standby] host3 host4 ...
BlackCrystal's user avatar
2 votes
1 answer
35 views

why can't map local path to docker's inside?

I want to build private docker hub. and I did it with: docker run -it --restart=always -p 7901:5000 -v /data/registry:/tmp/registry registry /bash/bin And my disk informations as below: [root@10-...
Frank AK's user avatar
  • 131
0 votes
1 answer
3k views

Ansible does not create directories CentOS7

This my ansible script - hosts: localhost tasks: - file: name: add dir path: /etc/ansible/roles/webservers/'{{item}}' state: directory mode: 0755 owner: ...
user avatar
5 votes
3 answers
4k views

Validating certificates with get_url or yum on CentOS 7 using Ansible

I'm pretty new to Ansible, but it seemed a better tool than a bash script for installing programs from source on remote servers... Starting from my working-but-fragile bash script, I made an Ansible ...
TheAtomicOption's user avatar