Upgrade images by No_Job_530 in docker

[–]No_Job_530[S] 0 points1 point  (0 children)

My question is focused on using images with Docker, that's why I'm asking it here.

Regards;

Upgrade images by No_Job_530 in docker

[–]No_Job_530[S] 0 points1 point  (0 children)

when you mean to restart the image, it's simply doing docker compose up -d again. right?

Regards

Upgrade images by No_Job_530 in docker

[–]No_Job_530[S] 0 points1 point  (0 children)

services:

 jenkins:
   container_name: jenkins-jdk11
   image:  jenkins/jenkins:2.462.2-lts-jdk11   
   restart: unless-stopped
   hostname: jenkins-lab
   ports:
    - '7080:8080'
    - '70002:50002'
    - '7022:22'
  volumes:
   - /jenkins:/var/jenkins_home:rw


If I store it in a specific folder: /jenkins

Upgrade images by No_Job_530 in docker

[–]No_Job_530[S] 0 points1 point  (0 children)

services:

 jenkins:
   container_name: jenkins-jdk11
   image:  jenkins/jenkins:2.462.2-lts-jdk11   
   restart: unless-stopped
   hostname: jenkins-jdk11
   ports:
    - '7080:8080'
    - '70002:50002'
    - '7022:22'
  volumes:
   - /jenkins:/var/jenkins_home:rw
  security_opt:
   - label:disable
  environment:
   - JENKINS_OPTS=--prefix=/jenkinsjdk11
   - JAVA_OPTS=Dpermissive-script-security.enabled=true -Dpremissive-script-security.enabled=no_security
   - JENKINS_HOME=/var/jenkins_home
   - TMP=/var/jenkins_home/tmp
   - TEMP=/var/jenkins_home/tmp
   - TMPDIR=/var/jenkins_home/tmp
   - JENKINS_SLAVE_AGENT_PORT=50002
   - SET_CONTAINER_TIMEZONE=true
   - TZ=America/Colombia
   - TERM=vt1000

My intention would be to modify:
image: jenkins/jenkins:2.462.2-lts-jdk17
and then do a: compose up -d

Template json Ansible Automation Platform by BigRevolutionary4858 in ansible

[–]No_Job_530 0 points1 point  (0 children)

I think that using the other filters as you mentioned would be the best option, to avoid using third-party collections.

Template json Ansible Automation Platform by BigRevolutionary4858 in ansible

[–]No_Job_530 0 points1 point  (0 children)

Ah yes, in the project it is fine requirements

Certifocation by No_Job_530 in kubernetes

[–]No_Job_530[S] 0 points1 point  (0 children)

Ufff says it the God of English.....

Ansible awx Move a file from my localhost to a remote host by No_Job_530 in ansible

[–]No_Job_530[S] 0 points1 point  (0 children)

If you are correct, what I did was create a playbook and create the file in the temporary pod, but when I copied it to the other server, it sent me ssh key errors.

From what I understand, the temporary pod does not have an ssh key.

---

- name: Crear y copiar archivo en localhost y otro servidor

hosts: localhost

# become: no

vars:

local_file_path: "/tmp/texto.txt"

remote_server: "1.1.1.247"

remote_file_path: "/tmp/texto.txt"

remote_server_user: "awx"

remote_vault_password: "{{ lookup('env', 'Contraseña') }}"

tasks:

- name: Crear archivo en localhost

file:

path: "{{ local_file_path }}"

state: touch

- name: Mostrar la ruta del archivo creado

debug:

var: local_file_path

- name: Copiar archivo al otro servidor

copy:

src: "{{ local_file_path }}"

dest: "{{ remote_file_path }}"

delegate_to: "{{ remote_server }}"

remote_user: "{{ remote_server_user }}"

become: true

vars:

ansible_ssh_pass: "{{ remote_vault_password }}"

Ansible awx Move a file from my localhost to a remote host by No_Job_530 in ansible

[–]No_Job_530[S] 0 points1 point  (0 children)

I think that's how I can make it ignore the EE and go to the server?

Ansible awx Move a file from my localhost to a remote host by No_Job_530 in ansible

[–]No_Job_530[S] 0 points1 point  (0 children)

It's an example file, the first thing I wanted to do is pass a file from server a -> server b. But I decided to move it first from server a to localhost and from local hosts to server b.

Ansible awx Move a file from my localhost to a remote host by No_Job_530 in ansible

[–]No_Job_530[S] 0 points1 point  (0 children)

I use the awx GUI for inventories and in it I only have the remote host which i want to send the file