Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
Resultats de text complet:
- DevOps Sesión 12 (2022-03-21) @info:cursos:pue:devops2022
- e yaml; playbooks_resueltos/modulo_file.yml>--- - name: Ejemplos de modulos de ficheros y openssl hosts: clientes remote_user: root tasks: - name: Crear un firchero con contenido especificado ... dest="/tmp/ejemplo-master.txt" backup=yes - name: Propiedades Fichero file: path="/tmp/ejemp... .txt" backup=yes mode="777" owner="vagrant" - name: copia archivo /etc/hostname a remoto copy:
- Sesión 12 : k8s (traefik) @info:cursos:pue:devops
- on: rbac.authorization.k8s.io/v1beta1 metadata: name: traefik-ingress-controller rules: - apiGroups:... on: rbac.authorization.k8s.io/v1beta1 metadata: name: traefik-ingress-controller roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: traefik-ingress-controller subjects: - kind: ServiceAccount name: traefik-ingress-controller namespace: kube-sys
- 4.1 Shallow and deep copy operations @info:cursos:pue:python-pcpp1:m1
- a variable, which you should treat as a label or name binding, is created, and this label refers to a d... <code python> import copy a_dict = { 'first name': 'James', 'last name': 'Bond', 'movies': ['Goldfinger (1964)', 'You Only Live Twice'] } b_... output** <code ; output> Source list of candies {'name': 'Lolly Pop', 'price': 0.4, 'weight': 133} {'nam
- playbooks @info:cursos:udemy:ansible
- s * formato YAML:<code yaml; playbook.yml>--- - name: Mi primer playbook hosts: all remote_user: <... , se podría hacer a nivel de tarea tasks: - name: copiar ficheros hosts copy: src=/etc/hosts dest=/etc/host - name: ... service: ... </code> * cada guión ... laybook, puede haber varios en un fichero * **name** es opcional, pero recomendado * ''ansible-pla
- 3.1 Advanced techniques of creating and serving exceptions @info:cursos:pue:python-pcpp1:m1
- clause may specify a variable after the exception name. In this example it’s an ''e_variable''. This var... trying to load a module. The attributes are: * name – represents the name of the module that was attempted to be imported; * path – represents the path t... t ImportError as e: print(e.args) print(e.name) print(e.path) </code> <code ; output> ("No m
- gestión de paquetes @info:cursos:udemy:ansible:modulos
- dule.html#cpanm-module]] * from_path = ruta * name = nombre * localib = ruta * mirror = mirror ... = directorio * <del>state</del> <code yaml> - name: instalar gcc yum: name=gcc state=latest - name: instalar paquete básico yum: name=perl-App-cpanminus state=latest - name: in
- gestionar el sistema @info:cursos:udemy:ansible:modulos
- s GlusterFS * group : gestión de grupos * hostname : gestión nombre servidor * iptables : gestión ... le.html#alternatives-module]] * requerido * name = nombre * path = /ruta/al/fichero * opcion... ruta/al/fichero * priority = 50 <code yaml> - name: fijar la versión de Java a 8 alternatives: name: java path: /usr/lib/jvm/java-8-openjdk-amd64
- Módulo 3: Programación Orientada a Objetos - Herencia @info:cursos:netacad:python:pe2m3
- <code python> class Star: def __init__(self, name, galaxy): self.name = name self.galaxy = galaxy sun = Star("Sol", "Vía Láctea") print(sun) </code> El programa i... <code python> class Star: def __init__(self, name, galaxy): self.name = name self.g
- 1.1 SQLite @info:cursos:pue:python-pcpp1:m5
- example above, the method takes only the database name as the argument. This means that the database wil... .db')</code> It's also possible to use a special name, '':memory:'', which creates a database in RAM: <... onsist of only one table called tasks: * id * name * priority To create the above table, we’ll nee... tax looks like this: <code sql>CREATE TABLE table_name ( column1 datatype, column2 datatype, column3 dat
- Terraform, conditionals, state and VM @info:cursos:udemy:terraform-azure
- "azurerm_network_interface" "web_server_nic" { name = "${var.web_server_name}-nic" location = "${var.web_server_location}" resource_group_name = "${azurerm_resource_group.web_server_rg.name}" ip_configuration { name
- Sesión 6 : ansible @info:cursos:pue:devops
- n 6 : ansible == ansible === become <code yaml> - name: servicio service: name: httpd state: started become: yes </code> <code yaml> - name: servicio service: name: httpd state: started become: yes become_user: apache </code> ==
- Sesión 8 : kubernetes @info:cursos:pue:devops
- apiVersion: v1 kind: ServiceAccount metadata: name: admin-user namespace: kube-system --- apiVersi... s.io/v1beta1 kind: ClusterRoleBinding metadata: name: admin-user roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-admin subjects: - kind: ServiceAccount name: admin-user namespace: kube-system EOF</code>
- 3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
- * **pycodestyle** (formerly called pep8, but the name was changed to avoid confusion) - Python style gu... st_one = [1, 2, 3, 4, 5, 6 ] a = my_function_name(a, b, c, d, e, f) </code> <code python ✔> #... 1, 2, 3, 4, 5, 6, ] a = my_function_name(a, b, c, d, e, f) </code> ... ituations where your comments or docstrings use a name (e.g., an author’s name) that contains a non-ASCI
- utilidades @info:cursos:udemy:ansible:modulos
- si no existe el fichero, NO ejecuta <code yaml> - name: obtener uname command: uname -a register: salida_uname - name: crear base de datos si no existe command: /sbin/createdb.sh arg
- Sesión 16 prometheus on kubernetes @info:cursos:pue:devops
- l apiVersion: v1 kind: ServiceAccount metadata: name: helm namespace: kube-system --- apiVersion: rb... s.io/v1beta1 kind: ClusterRoleBinding metadata: name: helm roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-admin subjects: - kind: ServiceAccount name: helm namespace: kube-system </code> * obte
- Módulo 3 (Intermedio): Programación Orientada a Objetos - Excepciones @info:cursos:netacad:python:pe2m3
- LPIC2 2021 Sesión 3 (2021-02-09) - procesos, kernel, systemd/systemv, modulos @info:cursos:pue:lpic2-2021